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": "e1f8048b-2e1d-4137-b264-375674cb1181",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "5074d2b5-2313-4994-b3b3-bd8faa362401",
"PosNegociated": true,
"PosAgentGuid": "c850bf71-d982-4d5b-a126-5b7a1969d59d",
"BudgetNegociated": true,
"BudgetAgentGuid": "b6ec7a2b-719b-4415-afce-92c6ac09a7fc",
"ImplantationAgentGuid": "7c7c7a41-64a9-4e72-96e2-f83351589ebd",
"PrecoAgentGuid": "dbd96bb2-3834-4d55-a530-45f5ea009c75",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "173435a4-08c0-412b-9996-8de78c63b8e8",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "641c8d08-026d-4598-83fe-ede619c2a34b",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "ec492b27-94fb-4210-af82-0748ce9409e6",
"MerchandiserGuid": "06ed0e6b-8ea7-4aa4-9a71-83b65c3e1b04",
"MerchandiserType": {
"Guid": "e62f4ebf-392c-4fb5-bebd-30f735395764",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "ce5cd42c-3f78-4dbe-bfa5-230e89b9e937",
"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>b6ec7a2b-719b-4415-afce-92c6ac09a7fc</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>ec492b27-94fb-4210-af82-0748ce9409e6</CommercialGuid>
<CompanyGuid>5074d2b5-2313-4994-b3b3-bd8faa362401</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>173435a4-08c0-412b-9996-8de78c63b8e8</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>641c8d08-026d-4598-83fe-ede619c2a34b</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>e1f8048b-2e1d-4137-b264-375674cb1181</Guid>
<Id>1</Id>
<ImplantationAgentGuid>7c7c7a41-64a9-4e72-96e2-f83351589ebd</ImplantationAgentGuid>
<MerchandiserGuid>06ed0e6b-8ea7-4aa4-9a71-83b65c3e1b04</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>e62f4ebf-392c-4fb5-bebd-30f735395764</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>c850bf71-d982-4d5b-a126-5b7a1969d59d</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>dbd96bb2-3834-4d55-a530-45f5ea009c75</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>ce5cd42c-3f78-4dbe-bfa5-230e89b9e937</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. |