PUT Locations/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
LocationDtoName | 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": "b692263b-3b36-49f2-9bea-34ff2de68231", "NetworkId": "d1b9f585-7147-45dc-8203-5849f06c461b", "Code": "sample string 3", "Street1": "sample string 4", "Street2": "sample string 5", "City": "sample string 6", "ZipCode": "sample string 7", "StateId": "98a15dfe-3f67-4b20-845f-e8e83bc79ffc", "StateDescription": "sample string 9", "CountryId": "2bd94b66-96e6-4107-a610-ff3ba5621da8", "ContactName": "sample string 11", "ContactPhoneNumber": "sample string 12", "CountryDescription": "sample string 13", "LocationsIdentificationsTypesModels": [ { "LocationId": "47f3552d-34af-407a-8de7-ddb0270fb2ac", "IdentificationTypeModelId": "c911454b-3b6f-4548-a1ce-6bd24005d675", "IdentificationType": 64 }, { "LocationId": "47f3552d-34af-407a-8de7-ddb0270fb2ac", "IdentificationTypeModelId": "c911454b-3b6f-4548-a1ce-6bd24005d675", "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>2bd94b66-96e6-4107-a610-ff3ba5621da8</CountryId> <Id>b692263b-3b36-49f2-9bea-34ff2de68231</Id> <LocationsIdentificationsTypesModels> <LocationIdentificationTypeModelDto> <IdentificationType>64</IdentificationType> <IdentificationTypeModelId>c911454b-3b6f-4548-a1ce-6bd24005d675</IdentificationTypeModelId> <LocationId>47f3552d-34af-407a-8de7-ddb0270fb2ac</LocationId> </LocationIdentificationTypeModelDto> <LocationIdentificationTypeModelDto> <IdentificationType>64</IdentificationType> <IdentificationTypeModelId>c911454b-3b6f-4548-a1ce-6bd24005d675</IdentificationTypeModelId> <LocationId>47f3552d-34af-407a-8de7-ddb0270fb2ac</LocationId> </LocationIdentificationTypeModelDto> </LocationsIdentificationsTypesModels> <NetworkId>d1b9f585-7147-45dc-8203-5849f06c461b</NetworkId> <StateDescription>sample string 9</StateDescription> <StateId>98a15dfe-3f67-4b20-845f-e8e83bc79ffc</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.