POST api/Location/AddLocation
Request Information
URI Parameters
None.
Body Parameters
LocationsName | Description | Type | Additional information |
---|---|---|---|
location | Collection of Location |
None. |
Request Formats
application/xml, text/xml
Sample:
<Locations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Location> <LocationID>sample string 1</LocationID> <Name>sample string 2</Name> <Street>sample string 3</Street> <HomeNumber>sample string 4</HomeNumber> <Country>sample string 5</Country> <PostalCode>sample string 6</PostalCode> <City>sample string 7</City> <Contact>sample string 8</Contact> <Distance>1.1</Distance> <LocationEAN>sample string 9</LocationEAN> <InsUpdDate>2024-11-23T04:05:02.1845752+01:00</InsUpdDate> <Region>sample string 10</Region> </Location> <Location> <LocationID>sample string 1</LocationID> <Name>sample string 2</Name> <Street>sample string 3</Street> <HomeNumber>sample string 4</HomeNumber> <Country>sample string 5</Country> <PostalCode>sample string 6</PostalCode> <City>sample string 7</City> <Contact>sample string 8</Contact> <Distance>1.1</Distance> <LocationEAN>sample string 9</LocationEAN> <InsUpdDate>2024-11-23T04:05:02.1845752+01:00</InsUpdDate> <Region>sample string 10</Region> </Location> </Locations>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional information |
---|---|---|---|
Keys | Collection of EntityKeyField |
None. |
|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Keys> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> </Keys> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </CreateResult>