POST api/TrainingAPI
Request Information
URI Parameters
None.
Body Parameters
TrainingAPI| Name | Description | Type | Additional information |
|---|---|---|---|
| fromDate | string |
None. |
|
| toDate | string |
None. |
|
| opCode | integer |
None. |
|
| isException | boolean |
None. |
|
| exceptionMessage | string |
None. |
|
| DS | DataSet |
None. |
Request Formats
application/json, text/json
Sample:
{
"fromDate": "sample string 1",
"toDate": "sample string 2",
"opCode": 3,
"isException": true,
"exceptionMessage": "sample string 5",
"ds": null
}
application/xml, text/xml
Sample:
<TrainingAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERAERPAPI.Models"> <DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" /> <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 5</exceptionMessage> <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException> <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">3</opCode> <fromDate>sample string 1</fromDate> <toDate>sample string 2</toDate> </TrainingAPI>
application/x-www-form-urlencoded
Sample:
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. |