POST api/HuneGatewayMobile/ProcessAPI

Request Information

URI Parameters

None.

Body Parameters

ApiRequestParam
NameDescriptionTypeAdditional information
ClientName

string

None.

ServiceCode

integer

None.

ActionName

string

None.

Parameter

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientName": "sample string 1",
  "ServiceCode": 2,
  "ActionName": "sample string 3",
  "Parameter": {}
}

application/xml, text/xml

Sample:
<ApiRequestParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hune.CommonLibrary.ObjectDefined">
  <ActionName>sample string 3</ActionName>
  <ClientName>sample string 1</ClientName>
  <Parameter />
  <ServiceCode>2</ServiceCode>
</ApiRequestParam>

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 'ApiRequestParam'.

Response Information

Resource Description

ApiResponseData
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Data

Object

None.

MessageInfo

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Data": {},
  "MessageInfo": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiResponseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hune.CommonLibrary.ObjectDefined">
  <Data />
  <MessageInfo>sample string 3</MessageInfo>
  <ResultCode>1</ResultCode>
</ApiResponseData>