PUT web/Bank

Request Information

URI Parameters

None.

Body Parameters

UpdateBank
NameDescriptionTypeAdditional information
bank

BankUpdate

None.

bank_contact

BankContact

None.

bank_address

BankAddress

None.

Request Formats

application/json, text/json

Sample:
{
  "bank": {
    "entity": {
      "value": "sample string 1",
      "id": 2
    },
    "record_id": 1,
    "name": "sample string 2",
    "notes": "sample string 3",
    "currency_id": {
      "value": "sample string 1",
      "id": 2
    },
    "act_number": "sample string 4",
    "code": "sample string 5",
    "routing_type": {
      "value": "sample string 1",
      "id": 2
    },
    "routing_code": "sample string 6"
  },
  "bank_contact": {
    "id": "sample string 1",
    "salutation": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "web_bank_contact": {
      "confirmation_email": "sample string 1",
      "email": "sample string 2",
      "alternate_email": "sample string 3",
      "web_site": "sample string 4"
    },
    "phone_bank_contact": {
      "assistant": "sample string 1",
      "business": "sample string 2",
      "business_2": "sample string 3",
      "business_fax": "sample string 4",
      "business_fax_2": "sample string 5",
      "car": "sample string 6",
      "company": "sample string 7",
      "direct": "sample string 8",
      "alternate_home": "sample string 9",
      "home": "sample string 10",
      "isdn": "sample string 11",
      "mobile": "sample string 12",
      "other": "sample string 13",
      "other_fax": "sample string 14",
      "pager": "sample string 15",
      "primary": "sample string 16",
      "telex": "sample string 17",
      "tt_dd": "sample string 18",
      "business_3": "sample string 19",
      "business_4": "sample string 20"
    }
  },
  "bank_address": {
    "web_bank": {
      "confirmation_email": "sample string 1",
      "email": "sample string 2",
      "alternate_email": "sample string 3",
      "web_site": "sample string 4"
    },
    "phone_bank": {
      "assistant": "sample string 1",
      "business": "sample string 2",
      "business_2": "sample string 3",
      "business_fax": "sample string 4",
      "business_fax_2": "sample string 5",
      "car": "sample string 6",
      "company": "sample string 7",
      "direct": "sample string 8",
      "alternate_home": "sample string 9",
      "home": "sample string 10",
      "isdn": "sample string 11",
      "mobile": "sample string 12",
      "other": "sample string 13",
      "other_fax": "sample string 14",
      "pager": "sample string 15",
      "primary": "sample string 16",
      "telex": "sample string 17",
      "tt_dd": "sample string 18",
      "business_3": "sample string 19",
      "business_4": "sample string 20"
    },
    "home_address": {
      "description": "sample string 1",
      "street_address": "sample string 2",
      "post_code": "sample string 3",
      "city": "sample string 4",
      "province": "sample string 5",
      "other": "sample string 6",
      "country": {
        "value": "sample string 1",
        "id": 2
      },
      "is_default": true
    },
    "alternate_address": {
      "description": "sample string 1",
      "street_address": "sample string 2",
      "post_code": "sample string 3",
      "city": "sample string 4",
      "province": "sample string 5",
      "other": "sample string 6",
      "country": {
        "value": "sample string 1",
        "id": 2
      },
      "is_default": true
    },
    "ship_address": {
      "description": "sample string 1",
      "street_address": "sample string 2",
      "post_code": "sample string 3",
      "city": "sample string 4",
      "province": "sample string 5",
      "other": "sample string 6",
      "country": {
        "value": "sample string 1",
        "id": 2
      },
      "is_default": true
    },
    "bill_address": {
      "description": "sample string 1",
      "street_address": "sample string 2",
      "post_code": "sample string 3",
      "city": "sample string 4",
      "province": "sample string 5",
      "other": "sample string 6",
      "country": {
        "value": "sample string 1",
        "id": 2
      },
      "is_default": true
    },
    "office_address": {
      "description": "sample string 1",
      "street_address": "sample string 2",
      "post_code": "sample string 3",
      "city": "sample string 4",
      "province": "sample string 5",
      "other": "sample string 6",
      "country": {
        "value": "sample string 1",
        "id": 2
      },
      "is_default": 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 'UpdateBank'.

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.