POST api/Test
Request Information
URI Parameters
None.
Body Parameters
Test| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| educations | Collection of Education |
None. |
|
| opCode | integer |
None. |
|
| isException | boolean |
None. |
|
| exceptionMessage | string |
None. |
|
| DS | DataSet |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"educations": [
{
"standard": 1,
"collegeName": "sample string 2"
},
{
"standard": 1,
"collegeName": "sample string 2"
}
],
"opCode": 3,
"isException": true,
"exceptionMessage": "sample string 5",
"ds": null
}
application/xml, text/xml
Sample:
<Test 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>
<educations>
<Education>
<collegeName>sample string 2</collegeName>
<standard>1</standard>
</Education>
<Education>
<collegeName>sample string 2</collegeName>
<standard>1</standard>
</Education>
</educations>
<id>1</id>
<name>sample string 2</name>
</Test>
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. |