PUT api/people/setpaymentdetails

Request Information

URI Parameters

None.

Body Parameters

SetPersonPaymentDetailsCommandDataContract
NameDescriptionTypeAdditional information
AccountId

integer

None.

AccountHolder

string

None.

SortCode

string

None.

AccountNumber

string

None.

HeldWith

integer

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "AccountHolder": "sample string 1",
  "SortCode": "sample string 2",
  "AccountNumber": "sample string 3",
  "HeldWith": 1,
  "Id": 4
}

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.