POST api/Test
Request Information
URI Parameters
None.
Body Parameters
TestRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TestString | string |
None. |
|
| CustomerId | integer |
None. |
|
| Token | string |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TestString": "sample string 1",
"CustomerId": 2,
"Token": "sample string 3",
"UserId": 4
}
application/xml, text/xml
Sample:
<TestRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrackingLibrary.Requests"> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/ServiceSupportLibrary.Requests">2</CustomerId> <Token xmlns="http://schemas.datacontract.org/2004/07/ServiceSupportLibrary.Requests">sample string 3</Token> <UserId xmlns="http://schemas.datacontract.org/2004/07/ServiceSupportLibrary.Requests">4</UserId> <TestString>sample string 1</TestString> </TestRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EntityResponseOfTestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Entities | Collection of TestModel |
None. |
|
| Result | ServiceResults |
None. |
|
| CustomResult | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Entities": [
{
"TestString": "sample string 1",
"TestInt": 2
},
{
"TestString": "sample string 1",
"TestInt": 2
}
],
"Result": 0,
"CustomResult": 1
}
application/xml, text/xml
Sample:
<EntityResponseOfTestModel8v_PNQfQn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceSupportLibrary.Responses">
<CustomResult>1</CustomResult>
<Result>Success</Result>
<Entities xmlns:d2p1="http://schemas.datacontract.org/2004/07/TrackingLibrary.Models">
<d2p1:TestModel>
<d2p1:TestInt>2</d2p1:TestInt>
<d2p1:TestString>sample string 1</d2p1:TestString>
</d2p1:TestModel>
<d2p1:TestModel>
<d2p1:TestInt>2</d2p1:TestInt>
<d2p1:TestString>sample string 1</d2p1:TestString>
</d2p1:TestModel>
</Entities>
</EntityResponseOfTestModel8v_PNQfQn>