PUT Locations/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
LocationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| NetworkId | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Street1 | string |
None. |
|
| Street2 | string |
None. |
|
| City | string |
None. |
|
| ZipCode | string |
None. |
|
| StateId | globally unique identifier |
None. |
|
| StateDescription | string |
None. |
|
| CountryId | globally unique identifier |
None. |
|
| ContactName | string |
None. |
|
| ContactPhoneNumber | string |
None. |
|
| CountryDescription | string |
None. |
|
| LocationsIdentificationsTypesModels | Collection of LocationIdentificationTypeModelDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "3b3a2814-9de6-4230-abe9-df827f11db92",
"NetworkId": "1cde6902-7752-4bce-a3de-745df065e60b",
"Code": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"City": "sample string 6",
"ZipCode": "sample string 7",
"StateId": "13e8caa2-e7b4-428e-9126-cd491a3133cc",
"StateDescription": "sample string 9",
"CountryId": "63331cbb-47f9-46d0-83fa-692cf727f8fe",
"ContactName": "sample string 11",
"ContactPhoneNumber": "sample string 12",
"CountryDescription": "sample string 13",
"LocationsIdentificationsTypesModels": [
{
"LocationId": "f66928dc-c7fe-45fe-8d9b-ddd30859b2a6",
"IdentificationTypeModelId": "853bfb42-e2f1-4d72-9e18-d790d4185af0",
"IdentificationType": 64
},
{
"LocationId": "f66928dc-c7fe-45fe-8d9b-ddd30859b2a6",
"IdentificationTypeModelId": "853bfb42-e2f1-4d72-9e18-d790d4185af0",
"IdentificationType": 64
}
]
}
application/xml, text/xml
Sample:
<LocationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
<City>sample string 6</City>
<Code>sample string 3</Code>
<ContactName>sample string 11</ContactName>
<ContactPhoneNumber>sample string 12</ContactPhoneNumber>
<CountryDescription>sample string 13</CountryDescription>
<CountryId>63331cbb-47f9-46d0-83fa-692cf727f8fe</CountryId>
<Id>3b3a2814-9de6-4230-abe9-df827f11db92</Id>
<LocationsIdentificationsTypesModels>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>853bfb42-e2f1-4d72-9e18-d790d4185af0</IdentificationTypeModelId>
<LocationId>f66928dc-c7fe-45fe-8d9b-ddd30859b2a6</LocationId>
</LocationIdentificationTypeModelDto>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>853bfb42-e2f1-4d72-9e18-d790d4185af0</IdentificationTypeModelId>
<LocationId>f66928dc-c7fe-45fe-8d9b-ddd30859b2a6</LocationId>
</LocationIdentificationTypeModelDto>
</LocationsIdentificationsTypesModels>
<NetworkId>1cde6902-7752-4bce-a3de-745df065e60b</NetworkId>
<StateDescription>sample string 9</StateDescription>
<StateId>13e8caa2-e7b4-428e-9126-cd491a3133cc</StateId>
<Street1>sample string 4</Street1>
<Street2>sample string 5</Street2>
<ZipCode>sample string 7</ZipCode>
</LocationDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.