PUT company/PutCompanyDetails
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": "8a9f17d0-cafa-42ae-8a5e-df93a913cf95",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "361eb2e0-8e09-4977-9fa5-053b13307794",
"PosNegociated": true,
"PosAgentGuid": "51f2970a-18ee-4765-b8c5-faff118fd1da",
"BudgetNegociated": true,
"BudgetAgentGuid": "a3dafd93-9584-4826-9d25-4397c9eb76a3",
"ImplantationAgentGuid": "c35a3c87-4f4a-406f-84ac-66fc5033b355",
"PrecoAgentGuid": "da141e42-e5d7-46e4-b530-1c00c28084ea",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "4e4d7495-7f40-44de-b31c-6fecf2df0bb1",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "d6ac86d5-72b9-4829-855e-84d09a9d273e",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "dd2e1425-674b-4bc5-aef6-bb214ce2d18e",
"MerchandiserGuid": "2905f69b-a616-4784-8dac-b6829ed20c6c",
"MerchandiserType": {
"Guid": "ee4e1284-6c37-4f89-980a-917e0393723c",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "e15df7a1-78ed-4699-9a7e-5bddee6a78d3",
"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>a3dafd93-9584-4826-9d25-4397c9eb76a3</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>dd2e1425-674b-4bc5-aef6-bb214ce2d18e</CommercialGuid>
<CompanyGuid>361eb2e0-8e09-4977-9fa5-053b13307794</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>4e4d7495-7f40-44de-b31c-6fecf2df0bb1</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>d6ac86d5-72b9-4829-855e-84d09a9d273e</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>8a9f17d0-cafa-42ae-8a5e-df93a913cf95</Guid>
<Id>1</Id>
<ImplantationAgentGuid>c35a3c87-4f4a-406f-84ac-66fc5033b355</ImplantationAgentGuid>
<MerchandiserGuid>2905f69b-a616-4784-8dac-b6829ed20c6c</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>ee4e1284-6c37-4f89-980a-917e0393723c</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>51f2970a-18ee-4765-b8c5-faff118fd1da</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>da141e42-e5d7-46e4-b530-1c00c28084ea</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>e15df7a1-78ed-4699-9a7e-5bddee6a78d3</TelemarketerGuid>
</CompanyDetailsInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
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. |