POST api/LateChange/Update
Request Information
URI Parameters
None.
Body Parameters
LateChangeItem| Name | 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": "85d11cb3-2817-4036-9878-856a491c2cd8",
"Name": "sample string 2",
"Quantity": 3.0,
"ProductId": "d1eb6729-9ba7-4163-9bba-d8815758ef3d",
"ProductName": "sample string 4",
"Notes": "sample string 5",
"UnitPrice": 1.0
}
text/html
Sample:
{"Id":"85d11cb3-2817-4036-9878-856a491c2cd8","Name":"sample string 2","Quantity":3.0,"ProductId":"d1eb6729-9ba7-4163-9bba-d8815758ef3d","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>85d11cb3-2817-4036-9878-856a491c2cd8</Id> <Name>sample string 2</Name> <Notes>sample string 5</Notes> <ProductId>d1eb6729-9ba7-4163-9bba-d8815758ef3d</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
JsonResult| Name | 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>