POST api/JANANSSBOMBO/subscriptionresponse

Request Information

URI Parameters

None.

Body Parameters

webapisubscriptionresponse
NameDescriptionTypeAdditional information
status

string

None.

msisdn

string

None.

initiation_date

string

None.

completion_date

string

None.

amount

decimal number

None.

receipt_number

string

None.

reference_code

string

None.

keyfield

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "msisdn": "sample string 2",
  "initiation_date": "sample string 3",
  "completion_date": "sample string 4",
  "amount": 1.1,
  "receipt_number": "sample string 5",
  "reference_code": "sample string 6",
  "keyfield": 7
}

application/xml, text/xml

Sample:
<webapisubscriptionresponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JANANSSBOMBOApi">
  <amount>1.1</amount>
  <completion_date>sample string 4</completion_date>
  <initiation_date>sample string 3</initiation_date>
  <keyfield>7</keyfield>
  <msisdn>sample string 2</msisdn>
  <receipt_number>sample string 5</receipt_number>
  <reference_code>sample string 6</reference_code>
  <status>sample string 1</status>
</webapisubscriptionresponse>

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

Response Information

Resource Description

None.