POST api/AgeUnit
Request Information
URI Parameters
None.
Body Parameters
AgeUnitDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| AgeUnitID | integer |
None. |
|
| AgeUnit | string |
None. |
|
| Inactive | boolean |
None. |
|
| SortIndex | integer |
None. |
|
| links | Collection of Link |
None. |
Request Formats
application/json, text/json
Sample:
{
"AgeUnitID": 1,
"AgeUnit": "sample string 2",
"Inactive": true,
"SortIndex": 4,
"links": null
}
application/xml, text/xml
Sample:
<AgeUnitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NAPSWebApi.DTO.DTOModel.AFNAPS.Guidance.PatientDetails"> <AgeUnit>sample string 2</AgeUnit> <AgeUnitID>1</AgeUnitID> <Inactive>true</Inactive> <SortIndex>4</SortIndex> <links xmlns:d2p1="http://schemas.datacontract.org/2004/07/NAPSWebApi.DTO.DTOModel" i:nil="true" /> </AgeUnitDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.