POST api/ot/designations?cid={cid}&userID={userID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cid | integer |
Required |
|
| userID | integer |
Required |
Body Parameters
Collection of th_otDesignations| Name | Description | Type | Additional information |
|---|---|---|---|
| desID | integer |
None. |
|
| Designation | string |
None. |
|
| isSup | boolean |
None. |
|
| cb | integer |
None. |
|
| co | date |
None. |
|
| ub | integer |
None. |
|
| uo | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"desID": 1,
"Designation": "sample string 2",
"isSup": true,
"cb": 4,
"co": "2026-06-01T18:39:29.7879581+00:00",
"ub": 6,
"uo": "2026-06-01T18:39:29.7884873+00:00"
},
{
"desID": 1,
"Designation": "sample string 2",
"isSup": true,
"cb": 4,
"co": "2026-06-01T18:39:29.7879581+00:00",
"ub": 6,
"uo": "2026-06-01T18:39:29.7884873+00:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfth_otDesignations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Login.Controllers.HMS">
<th_otDesignations>
<Designation>sample string 2</Designation>
<cb>4</cb>
<co>2026-06-01T18:39:29.7879581+00:00</co>
<desID>1</desID>
<isSup>true</isSup>
<ub>6</ub>
<uo>2026-06-01T18:39:29.7884873+00:00</uo>
</th_otDesignations>
<th_otDesignations>
<Designation>sample string 2</Designation>
<cb>4</cb>
<co>2026-06-01T18:39:29.7879581+00:00</co>
<desID>1</desID>
<isSup>true</isSup>
<ub>6</ub>
<uo>2026-06-01T18:39:29.7884873+00:00</uo>
</th_otDesignations>
</ArrayOfth_otDesignations>
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. |