POST api/v7/HierarchyAgeCode
Adds a new Hierarchy-AgeCode
Tables Impacted
HierarchyAgeCode
Request Information
URI Parameters
None.
Body Parameters
The new Hierarchy-AgeCode information
Hierarchy-AgeCode RequestName | Description | Type | Required? | Additional information |
---|---|---|---|---|
orgName * |
The Organization to which Hierarchy-AgeCode entity apply to |
string |
Yes |
None. |
HierarchyCode * |
The unique code to identify Hierarchy |
string |
Yes |
String length: between 1 and 14, inclusive |
AgeCodeName * |
The unique code to identify Age Code |
string |
Yes |
String length: between 1 and 30, inclusive |
customerAuditDate |
Last modified audit information |
date |
No |
None. |
Request Formats
application/json, text/json
Sample:
{ "orgName": "sample string 1", "HierarchyCode": "sample string 2", "AgeCodeName": "sample string 3", "customerAuditDate": "2018-01-01T00:00:00" }
application/xml, text/xml
Sample:
<HierarchyAgeCodeRequestDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <orgName>sample string 1</orgName> <HierarchyCode>sample string 2</HierarchyCode> <AgeCodeName>sample string 3</AgeCodeName> <customerAuditDate>2018-01-01T00:00:00</customerAuditDate> </HierarchyAgeCodeRequestDto>
Response Information
Resource Description
Returns a HTTPResponse Message stating the success/failure of API Action
HttpResponseMessageName | Description | Type |
---|---|---|
Version | Version | |
Content | HttpContent | |
StatusCode | HttpStatusCode | |
ReasonPhrase | string | |
Headers | Collection of Object | |
RequestMessage | HttpRequestMessage | |
IsSuccessStatusCode | boolean |