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": "cc3f25db-b563-484a-9439-5660b1e9665d", "companyID": "77233c86-0bbd-49b6-8728-ae9a919aef20", "countsAreID": "4e7708bb-bce6-4f90-aa68-9ab5b3d2cc06" }
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>77233c86-0bbd-49b6-8728-ae9a919aef20</CompanyID> <CountsAreID>4e7708bb-bce6-4f90-aa68-9ab5b3d2cc06</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>cc3f25db-b563-484a-9439-5660b1e9665d</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":"cc3f25db-b563-484a-9439-5660b1e9665d","companyID":"77233c86-0bbd-49b6-8728-ae9a919aef20","countsAreID":"4e7708bb-bce6-4f90-aa68-9ab5b3d2cc06"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.