POST api/Inventory/AddInventory
Request Information
URI Parameters
None.
Body Parameters
Collection of Inventory| Name | Description | Type | Additional information |
|---|---|---|---|
| inventory_id | globally unique identifier |
None. |
|
| reference_id | globally unique identifier |
None. |
|
| referenceType | integer |
None. |
|
| name | string |
None. |
|
| qty | decimal number |
None. |
|
| unit_id | integer |
None. |
|
| unit | string |
None. |
|
| in_out | integer |
None. |
|
| description | string |
None. |
|
| createBy | globally unique identifier |
None. |
|
| createDate | date |
None. |
|
| isActive | boolean |
None. |
|
| updateBy | globally unique identifier |
None. |
|
| updateDate | date |
None. |
|
| business_id | globally unique identifier |
None. |
|
| datetime | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"inventory_id": "869ce111-e78c-4afc-8207-51b55547f082",
"reference_id": "2fe2b9d4-34b8-49d0-af4e-2bbc7ca5e587",
"referenceType": 3,
"name": "sample string 4",
"qty": 5.1,
"unit_id": 6,
"unit": "sample string 7",
"in_out": 8,
"description": "sample string 9",
"createBy": "969f4cbc-3221-4c82-b471-38d4f284200b",
"createDate": "1788973511000",
"isActive": true,
"updateBy": "997912c6-93cc-4ca2-bc9e-933ae0bf0aa6",
"updateDate": "1788973511000",
"business_id": "c80a69af-f158-46f5-a918-b9a42bc96f39",
"datetime": "1788973511000"
},
{
"inventory_id": "869ce111-e78c-4afc-8207-51b55547f082",
"reference_id": "2fe2b9d4-34b8-49d0-af4e-2bbc7ca5e587",
"referenceType": 3,
"name": "sample string 4",
"qty": 5.1,
"unit_id": 6,
"unit": "sample string 7",
"in_out": 8,
"description": "sample string 9",
"createBy": "969f4cbc-3221-4c82-b471-38d4f284200b",
"createDate": "1788973511000",
"isActive": true,
"updateBy": "997912c6-93cc-4ca2-bc9e-933ae0bf0aa6",
"updateDate": "1788973511000",
"business_id": "c80a69af-f158-46f5-a918-b9a42bc96f39",
"datetime": "1788973511000"
}
]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| error | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.