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": "0eb3d917-0b05-4b49-933e-b34fdbcc490d", "Name": "sample string 2", "Quantity": 3.0, "ProductId": "de39e9f1-9441-4cb2-a0f8-13b33ef4db11", "ProductName": "sample string 4", "Notes": "sample string 5", "UnitPrice": 1.0 }
text/html
Sample:
{"Id":"0eb3d917-0b05-4b49-933e-b34fdbcc490d","Name":"sample string 2","Quantity":3.0,"ProductId":"de39e9f1-9441-4cb2-a0f8-13b33ef4db11","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>0eb3d917-0b05-4b49-933e-b34fdbcc490d</Id> <Name>sample string 2</Name> <Notes>sample string 5</Notes> <ProductId>de39e9f1-9441-4cb2-a0f8-13b33ef4db11</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>