PUT portal/Cheque

Request Information

URI Parameters

None.

Body Parameters

UpdateCheque
NameDescriptionTypeAdditional information
cheque_id

integer

None.

cheque_name

string

Required

memo

string

None.

entity

IdValuePair

None.

module

IdValuePair

None.

is_non_third_party

boolean

None.

street

string

None.

zipcode

string

None.

city

string

None.

province

string

None.

country

IdValuePair

None.

cheque_type

IdValuePair

None.

email_address

string

None.

other

string

None.

default_cheque_bank

IdValuePair

None.

is_individual

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "cheque_id": 1,
  "cheque_name": "sample string 2",
  "memo": "sample string 3",
  "entity": {
    "value": "sample string 1",
    "id": 2
  },
  "module": {
    "value": "sample string 1",
    "id": 2
  },
  "is_non_third_party": true,
  "street": "sample string 5",
  "zipcode": "sample string 6",
  "city": "sample string 7",
  "province": "sample string 8",
  "country": {
    "value": "sample string 1",
    "id": 2
  },
  "cheque_type": {
    "value": "sample string 1",
    "id": 2
  },
  "email_address": "sample string 9",
  "other": "sample string 10",
  "default_cheque_bank": {
    "value": "sample string 1",
    "id": 2
  },
  "is_individual": true
}

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

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.