POST api/main/simplifiedposttest
A Post connection with simplified input and output parameters to allow for testing
Request Information
Authorization is required
Response Codes
- OK (200)
- BadRequest (400)
- Unauthorized (401)
- NotFound (404)
URI Parameters
None.
Body Parameters
testinputName | Description | Type | Additional information |
---|---|---|---|
inId |
Integer input value |
integer |
None. |
inName |
String input value |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "inId": 1, "inName": "sample string 2" }
application/xml, text/xml
Sample:
<testinput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Main"> <inId>1</inId> <inName>sample string 2</inName> </testinput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
testoutputName | Description | Type | Additional information |
---|---|---|---|
outId |
Integer output value |
integer |
None. |
outName |
String output value |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "outId": 1, "outName": "sample string 2" }
application/xml, text/xml
Sample:
<testoutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.Main"> <outId>1</outId> <outName>sample string 2</outName> </testoutput>