PUT company/PutCompanyDetails
Update Company information
Request Information
URI Parameters
None.
Body Parameters
CompanyDetailsInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Guid | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Campaign | integer |
None. |
|
| CompanyGuid | globally unique identifier |
None. |
|
| PosNegociated | boolean |
None. |
|
| PosAgentGuid | globally unique identifier |
None. |
|
| BudgetNegociated | boolean |
None. |
|
| BudgetAgentGuid | globally unique identifier |
None. |
|
| ImplantationAgentGuid | globally unique identifier |
None. |
|
| PrecoAgentGuid | globally unique identifier |
None. |
|
| PrecoTract | boolean |
None. |
|
| CompanyStatus | CompanyStatusOutput |
None. |
|
| CompanyStore | CompanyStoreOutput |
None. |
|
| CommercialGuid | globally unique identifier |
None. |
|
| MerchandiserGuid | globally unique identifier |
None. |
|
| MerchandiserType | MerchandiserTypeOutput |
None. |
|
| TelemarketerGuid | globally unique identifier |
None. |
|
| NewCampaign | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Guid": "8327d875-0799-4004-9d76-00ae177e6faa",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "872b8e09-4c94-40bb-b76e-83cb15e03cfd",
"PosNegociated": true,
"PosAgentGuid": "d375afef-93ea-4a94-833f-36a093c00262",
"BudgetNegociated": true,
"BudgetAgentGuid": "09ece142-715e-46a4-bcd2-6e371e9c1fdd",
"ImplantationAgentGuid": "aa32d238-37f1-48af-a86e-bc36d581e821",
"PrecoAgentGuid": "6d039021-86fd-4c43-b645-60a7fb173b88",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "cf610c24-3803-4f9d-9b07-1fb1a4d52539",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "9e055e1c-c8f8-4cd1-8066-53fc913abb62",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "2dbddc0a-56c4-4fc4-aec9-99c28ab20f45",
"MerchandiserGuid": "27d6f3ac-daf7-40e5-850b-d2e7f581bc24",
"MerchandiserType": {
"Guid": "6f49ca54-e87f-4327-9758-d3824b10757e",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "0d7282b1-d4e6-435d-b856-5c34eaa6353a",
"NewCampaign": true
}
application/xml, text/xml
Sample:
<CompanyDetailsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestApi.Models.Inputs">
<BudgetAgentGuid>09ece142-715e-46a4-bcd2-6e371e9c1fdd</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>2dbddc0a-56c4-4fc4-aec9-99c28ab20f45</CommercialGuid>
<CompanyGuid>872b8e09-4c94-40bb-b76e-83cb15e03cfd</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>cf610c24-3803-4f9d-9b07-1fb1a4d52539</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStatus>
<CompanyStore xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>9e055e1c-c8f8-4cd1-8066-53fc913abb62</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>8327d875-0799-4004-9d76-00ae177e6faa</Guid>
<Id>1</Id>
<ImplantationAgentGuid>aa32d238-37f1-48af-a86e-bc36d581e821</ImplantationAgentGuid>
<MerchandiserGuid>27d6f3ac-daf7-40e5-850b-d2e7f581bc24</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>6f49ca54-e87f-4327-9758-d3824b10757e</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>d375afef-93ea-4a94-833f-36a093c00262</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>6d039021-86fd-4c43-b645-60a7fb173b88</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>0d7282b1-d4e6-435d-b856-5c34eaa6353a</TelemarketerGuid>
</CompanyDetailsInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Person informations after update
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |