POST api/ActionService/AddPaymentRequest

Documentation for 'AddPaymentRequest'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ConceptID": 2,
  "PaymentGuid": "sample string 3",
  "PaymentAmount": 4.0
}

application/xml, text/xml

Sample:
<CreatePaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Payment">
  <ConceptID>2</ConceptID>
  <PaymentAmount>4</PaymentAmount>
  <PaymentGuid>sample string 3</PaymentGuid>
  <UserID>1</UserID>
</CreatePaymentRequest>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "value": true
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfGenericBooleanResponseVxd1ES9A xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Musician">
    <d2p1:value>true</d2p1:value>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfGenericBooleanResponseVxd1ES9A>