POST api/Credits

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
addTransaction
Documentation for 'addTransaction'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "User": {
    "username": "sample string 1",
    "password": "sample string 2"
  },
  "ClientUserName": "sample string 1",
  "NumberOfCredits": 2.0,
  "PayType": 3,
  "UserId": 4
}

application/xml, text/xml

Sample:
<AddTransactionAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccessLayer.Objects">
  <ClientUserName>sample string 1</ClientUserName>
  <NumberOfCredits>2</NumberOfCredits>
  <PayType>3</PayType>
  <User>
    <password xmlns="">sample string 2</password>
    <username xmlns="">sample string 1</username>
  </User>
  <UserId>4</UserId>
</AddTransactionAPI>

application/x-www-form-urlencoded

Sample:

Sample not available.