POST api/Unit/AddUnit
Request Information
URI Parameters
None.
Body Parameters
UnitName | Description | Type | Additional information |
---|---|---|---|
Unit_Id | integer |
None. |
|
Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Unit_Id": 1, "Description": "sample string 2" }
application/octet-stream
Sample:
{"$id":"1","Unit_Id":1,"Description":"sample string 2"}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.