POST api/CountsAreDetail/Add
Request Information
URI Parameters
None.
Body Parameters
CountsAreDetailAddDtoName | Description | Type | Additional information |
---|---|---|---|
Quantity | decimal number |
None. |
|
UnitCost | decimal number |
None. |
|
TotalCost | decimal number |
None. |
|
PreviousAvailable | decimal number |
None. |
|
ProductID | globally unique identifier |
None. |
|
CompanyID | globally unique identifier |
None. |
|
CountsAreID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "2287269f-eaf8-49f1-bed0-d90c9517277a", "companyID": "a78aa21a-310b-4d72-a40a-2dff33646f9c", "countsAreID": "3f3861f5-7032-481e-99f1-4b07e6ded014" }
application/xml, text/xml
Sample:
<CountsAreDetailAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>a78aa21a-310b-4d72-a40a-2dff33646f9c</CompanyID> <CountsAreID>3f3861f5-7032-481e-99f1-4b07e6ded014</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>2287269f-eaf8-49f1-bed0-d90c9517277a</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"quantity":1.1,"unitCost":2.1,"totalCost":3.1,"previousAvailable":4.1,"productID":"2287269f-eaf8-49f1-bed0-d90c9517277a","companyID":"a78aa21a-310b-4d72-a40a-2dff33646f9c","countsAreID":"3f3861f5-7032-481e-99f1-4b07e6ded014"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.