POST Bookings/InsertBookPayment

Request Information

URI Parameters

None.

Body Parameters

BookPayment
NameDescriptionTypeAdditional information
ID

integer

None.

BookID

integer

None.

PaymentMethod

ePaymentMethod

None.

PaymentDate

string

None.

PaymentStatus

ePaymentStatus

None.

Token

string

None.

Comments

string

None.

HasError

boolean

None.

ErrorDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "BookID": 2,
  "PaymentMethod": 1,
  "PaymentDate": "sample string 3",
  "PaymentStatus": 0,
  "Token": "sample string 4",
  "Comments": "sample string 5",
  "HasError": true,
  "ErrorDescription": "sample string 7"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BookPayment
NameDescriptionTypeAdditional information
ID

integer

None.

BookID

integer

None.

PaymentMethod

ePaymentMethod

None.

PaymentDate

string

None.

PaymentStatus

ePaymentStatus

None.

Token

string

None.

Comments

string

None.

HasError

boolean

None.

ErrorDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "BookID": 2,
  "PaymentMethod": 1,
  "PaymentDate": "sample string 3",
  "PaymentStatus": 0,
  "Token": "sample string 4",
  "Comments": "sample string 5",
  "HasError": true,
  "ErrorDescription": "sample string 7"
}