PUT web/Contact
Request Information
URI Parameters
None.
Body Parameters
UpdateContact| Name | Description | Type | Additional information |
|---|---|---|---|
| web | Web |
None. |
|
| contact | update_contact |
Required |
|
| phone | Phone |
None. |
|
| home_address | ContactHomeAddress |
None. |
|
| alternate_address | ContactAlternateAddress |
None. |
|
| ship_address | ContactShipAddress |
None. |
|
| bill_address | ContactBillAddress |
None. |
|
| office_address | ContactOfficeAddress |
None. |
Request Formats
application/json, text/json
Sample:
{
"web": {
"confirmation_email": "sample string 1",
"email": "sample string 2",
"alternate_email": "sample string 3",
"web_site": "sample string 4"
},
"contact": {
"record_id": 1,
"entity": {
"value": "sample string 1",
"id": 2
},
"salutation": "sample string 2",
"name": "sample string 3",
"alias": "sample string 4",
"description": "sample string 5",
"last_name": "sample string 6",
"initial": "sample string 7",
"is_primary_contact": true,
"authorized_signatory": "sample string 9",
"authorized_to_transact": "sample string 10",
"is_active": true,
"group_id": "sample string 12"
},
"phone": {
"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",
"compnay": "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:
application/xml
Sample:
text/xml
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.