JiwaAPI

<back to all web services

SalesOrderLineCustomFieldValuePATCHRequest

Requires Authentication
The following routes are available for this service:
PATCH/SalesOrders/{InvoiceID}/Historys/{InvoiceHistoryID}/Lines/{InvoiceLineID}/CustomFieldValues/{SettingID}Updates a sales order line custom field value.
SalesOrderLineCustomFieldValuePATCHRequest Parameters:
NameParameterData TypeRequiredDescription
InvoiceIDpathstringNo
InvoiceHistoryIDpathstringNo
InvoiceLineIDpathstringNo
SettingIDpathstringNo
CustomFieldValue Parameters:
NameParameterData TypeRequiredDescription
SettingIDformstringNo
SettingNameformstringNo
ContentsformstringNo
PluginIDformstringNo
PluginNameformstringNo
CustomFieldValue Parameters:
NameParameterData TypeRequiredDescription
SettingIDformstringNo
SettingNameformstringNo
ContentsformstringNo
PluginIDformstringNo
PluginNameformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PATCH /SalesOrders/{InvoiceID}/Historys/{InvoiceHistoryID}/Lines/{InvoiceLineID}/CustomFieldValues/{SettingID} HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"InvoiceID":"String","InvoiceHistoryID":"String","InvoiceLineID":"String","SettingID":"String","Contents":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}