POST v1/Order/OrderVersionOtherJobCostUpdate
Updates the OrderVersionOtherJobCost information
Request Information
URI Parameters
None.
Body Parameters
OrderVersionOtherJobCostUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderVersionOtherJobCostID |
Required. Must match Midnight OrderVersionOtherJobCostID |
integer |
None. |
| Date |
Required. |
string |
None. |
| Type |
Provide Type |
string |
None. |
| Source |
Provide Source |
string |
None. |
| Quantity |
Provide Quantity |
decimal number |
None. |
| UnitPrice |
Provide UnitPrice |
decimal number |
None. |
| Description |
Provide Description |
string |
None. |
Remarks
None.
Request Formats
application/json, text/json
Sample:
{
"OrderVersionOtherJobCostID": 1,
"Date": "sample string 2",
"Type": "sample string 3",
"Source": "sample string 4",
"Quantity": 1.0,
"UnitPrice": 1.0,
"Description": "sample string 5"
}
application/xml, text/xml
Sample:
<OrderVersionOtherJobCostUpdateRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <OrderVersionOtherJobCostID>1</OrderVersionOtherJobCostID> <Date>sample string 2</Date> <Type>sample string 3</Type> <Source>sample string 4</Source> <Quantity>1</Quantity> <UnitPrice>1</UnitPrice> <Description>sample string 5</Description> <CreatedBy>sample string 6</CreatedBy> </OrderVersionOtherJobCostUpdateRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string>sample string 1</string>
