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": "9deab8e2-94b1-4901-81fc-89519f396ba8",
"NetworkId": "9d037bbc-91d8-4b91-9903-b38200fdc353",
"Code": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"City": "sample string 6",
"ZipCode": "sample string 7",
"StateId": "23de8f1a-a004-49a5-8c11-cf04fb030dad",
"StateDescription": "sample string 9",
"CountryId": "aae90833-bc8a-43c0-b106-5d58dcb26966",
"ContactName": "sample string 11",
"ContactPhoneNumber": "sample string 12",
"CountryDescription": "sample string 13",
"LocationsIdentificationsTypesModels": [
{
"LocationId": "2862bcaa-8283-49af-beb1-8b6171fe6d37",
"IdentificationTypeModelId": "346e173c-564f-4a9e-8ed3-e4772e6f6fed",
"IdentificationType": 64
},
{
"LocationId": "2862bcaa-8283-49af-beb1-8b6171fe6d37",
"IdentificationTypeModelId": "346e173c-564f-4a9e-8ed3-e4772e6f6fed",
"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>aae90833-bc8a-43c0-b106-5d58dcb26966</CountryId>
<Id>9deab8e2-94b1-4901-81fc-89519f396ba8</Id>
<LocationsIdentificationsTypesModels>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>346e173c-564f-4a9e-8ed3-e4772e6f6fed</IdentificationTypeModelId>
<LocationId>2862bcaa-8283-49af-beb1-8b6171fe6d37</LocationId>
</LocationIdentificationTypeModelDto>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>346e173c-564f-4a9e-8ed3-e4772e6f6fed</IdentificationTypeModelId>
<LocationId>2862bcaa-8283-49af-beb1-8b6171fe6d37</LocationId>
</LocationIdentificationTypeModelDto>
</LocationsIdentificationsTypesModels>
<NetworkId>9d037bbc-91d8-4b91-9903-b38200fdc353</NetworkId>
<StateDescription>sample string 9</StateDescription>
<StateId>23de8f1a-a004-49a5-8c11-cf04fb030dad</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.