POST api/Company/UpdateCompany
Request Information
URI Parameters
None.
Body Parameters
CompanyName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
Type | string |
None. |
|
CompanyName | string |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
City | string |
None. |
|
Country | string |
None. |
|
State | string |
None. |
|
ZipCode | string |
None. |
|
PrimaryPhone | string |
None. |
|
SecondaryPhone | string |
None. |
|
Fax | string |
None. |
|
CreatedDate | date |
None. |
|
ModifiedDate | date |
None. |
|
CreatedBy | string |
None. |
|
ModifiedBy | string |
None. |
|
CompanyDesc | string |
None. |
|
ImagePath | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "Type": "sample string 2", "CompanyName": "sample string 3", "AddressLine1": "sample string 4", "AddressLine2": "sample string 5", "City": "sample string 6", "Country": "sample string 7", "State": "sample string 8", "ZipCode": "sample string 9", "PrimaryPhone": "sample string 10", "SecondaryPhone": "sample string 11", "Fax": "sample string 12", "CreatedDate": "2025-03-15T17:03:50.3142855+00:00", "ModifiedDate": "2025-03-15T17:03:50.3142855+00:00", "CreatedBy": "sample string 15", "ModifiedBy": "sample string 16", "CompanyDesc": "sample string 17", "ImagePath": "sample string 18" }
application/xml, text/xml
Sample:
<Company 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> <CompanyName>sample string 3</CompanyName> <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> <ZipCode>sample string 9</ZipCode> <PrimaryPhone>sample string 10</PrimaryPhone> <SecondaryPhone>sample string 11</SecondaryPhone> <Fax>sample string 12</Fax> <CreatedDate>2025-03-15T17:03:50.3142855+00:00</CreatedDate> <ModifiedDate>2025-03-15T17:03:50.3142855+00:00</ModifiedDate> <CreatedBy>sample string 15</CreatedBy> <ModifiedBy>sample string 16</ModifiedBy> <CompanyDesc>sample string 17</CompanyDesc> <ImagePath>sample string 18</ImagePath> </Company>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.