POST api/Company/UpdateLocation
Request Information
URI Parameters
None.
Body Parameters
LocationName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
Type | string |
None. |
|
LocationName | string |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
City | string |
None. |
|
Country | string |
None. |
|
State | string |
None. |
|
Zip | string |
None. |
|
PrimaryPhone | string |
None. |
|
SecondaryPhone | string |
None. |
|
Fax | string |
None. |
|
CreatedDate | date |
None. |
|
ModifiedDate | date |
None. |
|
CreatedBy | string |
None. |
|
ModifiedBy | string |
None. |
|
LocationDesc | string |
None. |
|
CompanyName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "Type": "sample string 2", "LocationName": "sample string 3", "AddressLine1": "sample string 4", "AddressLine2": "sample string 5", "City": "sample string 6", "Country": "sample string 7", "State": "sample string 8", "Zip": "sample string 9", "PrimaryPhone": "sample string 10", "SecondaryPhone": "sample string 11", "Fax": "sample string 12", "CreatedDate": "2025-03-21T19:33:18.0810032+00:00", "ModifiedDate": "2025-03-21T19:33:18.0810032+00:00", "CreatedBy": "sample string 15", "ModifiedBy": "sample string 16", "LocationDesc": "sample string 17", "CompanyName": "sample string 18" }
application/xml, text/xml
Sample:
<Location xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>sample string 1</Id> <Type>sample string 2</Type> <LocationName>sample string 3</LocationName> <AddressLine1>sample string 4</AddressLine1> <AddressLine2>sample string 5</AddressLine2> <City>sample string 6</City> <Country>sample string 7</Country> <State>sample string 8</State> <Zip>sample string 9</Zip> <PrimaryPhone>sample string 10</PrimaryPhone> <SecondaryPhone>sample string 11</SecondaryPhone> <Fax>sample string 12</Fax> <CreatedDate>2025-03-21T19:33:18.0810032+00:00</CreatedDate> <ModifiedDate>2025-03-21T19:33:18.0810032+00:00</ModifiedDate> <CreatedBy>sample string 15</CreatedBy> <ModifiedBy>sample string 16</ModifiedBy> <LocationDesc>sample string 17</LocationDesc> <CompanyName>sample string 18</CompanyName> </Location>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.