POST api/LateChange/Update
Request Information
URI Parameters
None.
Body Parameters
LateChangeItemName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
Quantity | decimal number |
None. |
|
ProductId | globally unique identifier |
None. |
|
ProductName | string |
None. |
|
Notes | string |
None. |
|
UnitPrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "246b6831-cab9-4ee2-acf6-8f653c90071d", "Name": "sample string 2", "Quantity": 3.0, "ProductId": "deb6c291-d88e-49e6-9f6c-cef26caafbcc", "ProductName": "sample string 4", "Notes": "sample string 5", "UnitPrice": 1.0 }
text/html
Sample:
{"Id":"246b6831-cab9-4ee2-acf6-8f653c90071d","Name":"sample string 2","Quantity":3.0,"ProductId":"deb6c291-d88e-49e6-9f6c-cef26caafbcc","ProductName":"sample string 4","Notes":"sample string 5","UnitPrice":1.0}
application/xml, text/xml
Sample:
<LateChangeItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BRH.Services.Models"> <Id>246b6831-cab9-4ee2-acf6-8f653c90071d</Id> <Name>sample string 2</Name> <Notes>sample string 5</Notes> <ProductId>deb6c291-d88e-49e6-9f6c-cef26caafbcc</ProductId> <ProductName>sample string 4</ProductName> <Quantity>3</Quantity> <UnitPrice>1</UnitPrice> </LateChangeItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultName | Description | Type | Additional information |
---|---|---|---|
ContentEncoding | Encoding |
None. |
|
ContentType | string |
None. |
|
Data | Object |
None. |
|
JsonRequestBehavior | JsonRequestBehavior |
None. |
|
MaxJsonLength | integer |
None. |
|
RecursionLimit | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ContentEncoding": null, "ContentType": "sample string 1", "Data": {}, "JsonRequestBehavior": 0, "MaxJsonLength": 1, "RecursionLimit": 1 }
text/html
Sample:
{"ContentEncoding":null,"ContentType":"sample string 1","Data":{},"JsonRequestBehavior":0,"MaxJsonLength":1,"RecursionLimit":1}
application/xml, text/xml
Sample:
<JsonResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc"> <ContentEncoding xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Text" i:nil="true" /> <ContentType>sample string 1</ContentType> <Data /> <JsonRequestBehavior>AllowGet</JsonRequestBehavior> <MaxJsonLength>1</MaxJsonLength> <RecursionLimit>1</RecursionLimit> </JsonResult>