POST api/Dapi/HandlerFuncPostBody

Request Information

URI Parameters

None.

Body Parameters

DapiPayload
NameDescriptionTypeAdditional information
requestBodyJson

string

None.

requestHeaders

Collection of Pair of string [key] and string [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "requestBodyJson": "sample string 1",
  "requestHeaders": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<DapiPayload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models">
  <requestBodyJson>sample string 1</requestBodyJson>
  <requestHeaders xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
  </requestHeaders>
</DapiPayload>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DapiPayload'.

Response Information

Resource Description

IRestResponse
NameDescriptionTypeAdditional information
Request

IRestRequest

None.

ContentType

string

None.

ContentLength

integer

None.

ContentEncoding

string

None.

Content

string

None.

StatusCode

HttpStatusCode

None.

IsSuccessful

boolean

None.

StatusDescription

string

None.

RawBytes

Collection of byte

None.

ResponseUri

URI

None.

Server

string

None.

Cookies

Collection of RestResponseCookie

None.

Headers

Collection of Parameter

None.

ResponseStatus

ResponseStatus

None.

ErrorMessage

string

None.

ErrorException

Exception

None.

ProtocolVersion

Version

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.