POST api/JANANSSBOMBO/subscription

Request Information

URI Parameters

None.

Body Parameters

webapisubscription
NameDescriptionTypeAdditional information
account

string

None.

phone

string

None.

code

string

None.

studentname

string

None.

parentname

string

None.

relationship

string

None.

keyfield

integer

None.

postingdate

date

None.

amount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "account": "sample string 1",
  "phone": "sample string 2",
  "code": "sample string 3",
  "studentname": "sample string 4",
  "parentname": "sample string 5",
  "relationship": "sample string 6",
  "keyfield": 7,
  "postingdate": "2024-12-22T08:17:16.5914425+03:00",
  "amount": 1
}

application/xml, text/xml

Sample:
<webapisubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JANANSSBOMBOApi">
  <account>sample string 1</account>
  <amount>1</amount>
  <code>sample string 3</code>
  <keyfield>7</keyfield>
  <parentname>sample string 5</parentname>
  <phone>sample string 2</phone>
  <postingdate>2024-12-22T08:17:16.5914425+03:00</postingdate>
  <relationship>sample string 6</relationship>
  <studentname>sample string 4</studentname>
</webapisubscription>

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

Response Information

Resource Description

None.