Options
			
				
					
	
			
		
	- Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Mute
 - Printer Friendly Page
 
Uom value is ignored and defaulting to "HOUR" when posting projecttransaction lines without inventory number. Doing a put request to update the line uom afterwards works. Post body sample:
{
  "description": {
    "value": "Testtransaction"
  },
  "lines": [
    {
      "operation": "Insert",
      "date": {
        "value": "2024-03-21T02:43:31"
      },
      "project": {
        "value": "100060"
      },
      "projectTask": {
        "value": "20"
      },
      "uom": {
        "value": "STK"
      },
      "quantity": {
        "value": 1
      },
      "unitRate": {
        "value": 2000
      },
      "description": {
        "value": "Testtransaction"
      },
      "accountGroup": {
        "value": "6"
      },
      "financialPeriod": {
        "value": "202403"
      }
    }    
  ]
}
Solved! Go to Solution.
		2 REPLIES 2