POST api/Material
Request Information
URI Parameters
None.
Body Parameters
Material| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 200 |
|
| UnitID | integer |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | string |
Required String length: inclusive between 0 and 200 |
|
| Status | boolean |
None. |
|
| Unit | Unit |
None. |
|
| MaterialRequests | Collection of MaterialRequest |
None. |
|
| MaterialRequisitions | Collection of MaterialRequisition |
None. |
|
| MaterialStocks | Collection of MaterialStock |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |