PUT api/people/setpaymentdetails

Set the payment details for a person

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.People.Command.UpdatePerson.SetPersonPaymentDetailsCommandDataContract
NameDescriptionTypeAdditional information
AccountId

integer

None.

AccountHolder

string

None.

SortCode

string

None.

AccountNumber

string

None.

AccountName

string

None.

HeldWith

integer

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

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

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.