POST v1/Order/OrderVersionDetailUpdate

Updates order version service line item information

This is secure method and requires below attributes in header

Authorization: Authorize Token

Request Information

URI Parameters

None.

Body Parameters

OrderVersionDetail
NameDescriptionTypeAdditional information
OrderVersionDetailID

Required for OrderVersionDetailUpdate. Ignored for OrderVersionDetailInsert.

integer

None.

VersionID

Required for OrderVersionDetailInsert. Ignored for OrderVersionDetailUpdate.

integer

None.

ServiceID

Required for OrderVersionDetailInsert. Ignored for OrderVersionDetailUpdate.

integer

None.

ServiceName

Optional.

string

None.

Quantity

Optional.

decimal number

None.

UnitPrice

Optional.

decimal number

None.

Taxable

Ignored for OrderVersionDetailUpdate. Optional for OrderVersionDetailInsert.

boolean

None.

RunRate

Ignored for OrderVersionDetailInsert. Optional for OrderVersionDetailUpdate.

decimal number

None.

QtyDone

Ignored for OrderVersionDetailInsert. Optional for OrderVersionDetailUpdate.

decimal number

None.

Complete

Ignored for OrderVersionDetailInsert. Optional for OrderVersionDetailUpdate.

boolean

None.

SetupTime

Ignored for OrderVersionDetailInsert. Optional for OrderVersionDetailUpdate.

decimal number

None.

Priority

Ignored for OrderVersionDetailUpdate. Optional for OrderVersionDetailInsert.

integer

None.

ServiceHyperlink

Optional.

string

None.

FileLocation

Optional.

string

None.

Comment

Optional.

string

None.

PostageAccountID

Optional. If the method call will reduce the order total value less than the total payment for the order, this parameter is required to add credit to the customer’s deposit account. Must match a valid PostageAccountID for the customer on the order.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderVersionDetailID": 1,
  "VersionID": 1,
  "ServiceID": 1,
  "ServiceName": "sample string 3",
  "Quantity": 1.0,
  "UnitPrice": 1.0,
  "Taxable": true,
  "RunRate": 1.0,
  "QtyDone": 1.0,
  "Complete": true,
  "SetupTime": 1.0,
  "Priority": 1,
  "ServiceHyperlink": "sample string 30",
  "FileLocation": "sample string 31",
  "Comment": "sample string 35",
  "PostageAccountID": 1
}

application/xml, text/xml

Sample:
<OrderVersionDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <OrderVersionDetailID>1</OrderVersionDetailID>
  <VersionID>1</VersionID>
  <ServiceID>1</ServiceID>
  <ServiceName>sample string 3</ServiceName>
  <Quantity>1</Quantity>
  <UnitPrice>1</UnitPrice>
  <Taxable>true</Taxable>
  <RunRate>1</RunRate>
  <QtyDone>1</QtyDone>
  <Complete>true</Complete>
  <SetupTime>1</SetupTime>
  <Priority>1</Priority>
  <ServiceHyperlink>sample string 30</ServiceHyperlink>
  <FileLocation>sample string 31</FileLocation>
  <Comment>sample string 35</Comment>
  <PostageAccountID>1</PostageAccountID>
</OrderVersionDetail>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderVersionDetail'.

Response Information

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>