PUT api/Supplier/Contact
Request Information
URI Parameters
None.
Body Parameters
Contact| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| address1 | string |
None. |
|
| address2 | string |
None. |
|
| address3 | string |
None. |
|
| address4 | string |
None. |
|
| postalNo | string |
None. |
|
| postalArea | string |
None. |
|
| emailAddress | string |
None. |
|
| phone | string |
None. |
|
| mobilePhone | string |
None. |
|
| customerNo | integer |
None. |
|
| supplierNo | integer |
None. |
|
| title | string |
None. |
|
| information8 | string |
None. |
|
| userName | string |
None. |
|
| contactFor | integer |
None. |
|
| group1 | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"address1": "sample string 3",
"address2": "sample string 4",
"address3": "sample string 5",
"address4": "sample string 6",
"postalNo": "sample string 7",
"postalArea": "sample string 8",
"emailAddress": "sample string 9",
"phone": "sample string 10",
"mobilePhone": "sample string 11",
"customerNo": 12,
"supplierNo": 13,
"title": "sample string 14",
"information8": "sample string 15",
"userName": "sample string 16",
"contactFor": 1,
"group1": 1
}
application/xml, text/xml
Sample:
<Contact xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <name>sample string 2</name> <address1>sample string 3</address1> <address2>sample string 4</address2> <address3>sample string 5</address3> <address4>sample string 6</address4> <postalNo>sample string 7</postalNo> <postalArea>sample string 8</postalArea> <emailAddress>sample string 9</emailAddress> <phone>sample string 10</phone> <mobilePhone>sample string 11</mobilePhone> <customerNo>12</customerNo> <supplierNo>13</supplierNo> <title>sample string 14</title> <information8>sample string 15</information8> <userName>sample string 16</userName> <contactFor>1</contactFor> <group1>1</group1> </Contact>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Contact| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| address1 | string |
None. |
|
| address2 | string |
None. |
|
| address3 | string |
None. |
|
| address4 | string |
None. |
|
| postalNo | string |
None. |
|
| postalArea | string |
None. |
|
| emailAddress | string |
None. |
|
| phone | string |
None. |
|
| mobilePhone | string |
None. |
|
| customerNo | integer |
None. |
|
| supplierNo | integer |
None. |
|
| title | string |
None. |
|
| information8 | string |
None. |
|
| userName | string |
None. |
|
| contactFor | integer |
None. |
|
| group1 | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"address1": "sample string 3",
"address2": "sample string 4",
"address3": "sample string 5",
"address4": "sample string 6",
"postalNo": "sample string 7",
"postalArea": "sample string 8",
"emailAddress": "sample string 9",
"phone": "sample string 10",
"mobilePhone": "sample string 11",
"customerNo": 12,
"supplierNo": 13,
"title": "sample string 14",
"information8": "sample string 15",
"userName": "sample string 16",
"contactFor": 1,
"group1": 1
}
application/xml, text/xml
Sample:
<Contact xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <name>sample string 2</name> <address1>sample string 3</address1> <address2>sample string 4</address2> <address3>sample string 5</address3> <address4>sample string 6</address4> <postalNo>sample string 7</postalNo> <postalArea>sample string 8</postalArea> <emailAddress>sample string 9</emailAddress> <phone>sample string 10</phone> <mobilePhone>sample string 11</mobilePhone> <customerNo>12</customerNo> <supplierNo>13</supplierNo> <title>sample string 14</title> <information8>sample string 15</information8> <userName>sample string 16</userName> <contactFor>1</contactFor> <group1>1</group1> </Contact>