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": "b593d0b7-0f8f-4ffa-b4ca-76ba639d0d6a",
"NetworkId": "35052f93-80fd-41e5-ba58-56068fc8c42a",
"Code": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"City": "sample string 6",
"ZipCode": "sample string 7",
"StateId": "405386e8-f8cc-4dfd-b90b-fdcf428e9e44",
"StateDescription": "sample string 9",
"CountryId": "4f4f6b7d-ab7c-4551-896c-8857834fd6c3",
"ContactName": "sample string 11",
"ContactPhoneNumber": "sample string 12",
"CountryDescription": "sample string 13",
"LocationsIdentificationsTypesModels": [
{
"LocationId": "38d3940d-2868-41d3-9693-e8a5fe3b5f98",
"IdentificationTypeModelId": "bb5d6238-8852-4ff8-9251-92848e53be79",
"IdentificationType": 64
},
{
"LocationId": "38d3940d-2868-41d3-9693-e8a5fe3b5f98",
"IdentificationTypeModelId": "bb5d6238-8852-4ff8-9251-92848e53be79",
"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>4f4f6b7d-ab7c-4551-896c-8857834fd6c3</CountryId>
<Id>b593d0b7-0f8f-4ffa-b4ca-76ba639d0d6a</Id>
<LocationsIdentificationsTypesModels>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>bb5d6238-8852-4ff8-9251-92848e53be79</IdentificationTypeModelId>
<LocationId>38d3940d-2868-41d3-9693-e8a5fe3b5f98</LocationId>
</LocationIdentificationTypeModelDto>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>bb5d6238-8852-4ff8-9251-92848e53be79</IdentificationTypeModelId>
<LocationId>38d3940d-2868-41d3-9693-e8a5fe3b5f98</LocationId>
</LocationIdentificationTypeModelDto>
</LocationsIdentificationsTypesModels>
<NetworkId>35052f93-80fd-41e5-ba58-56068fc8c42a</NetworkId>
<StateDescription>sample string 9</StateDescription>
<StateId>405386e8-f8cc-4dfd-b90b-fdcf428e9e44</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.