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": "7def58f5-9730-447a-8cc3-47c046ba37cc",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "a2cb3d74-4a4f-450c-aec6-cf13d94a3a2b",
"PosNegociated": true,
"PosAgentGuid": "afa9c4b8-073f-4397-bb67-ceb953c4efe3",
"BudgetNegociated": true,
"BudgetAgentGuid": "82369cb0-6895-4fd9-9b21-759fa0707f85",
"ImplantationAgentGuid": "d7559054-cba4-448d-9ae9-3dd7019073e6",
"PrecoAgentGuid": "2b0c02fa-14aa-4c14-b0ab-3b3c48590aa8",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "ac816ab9-d8f7-4434-9842-681dd117e6ed",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "8d2918ff-c813-4d43-8016-e8c083155908",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "22173178-8614-44b9-a780-8da783f9601a",
"MerchandiserGuid": "971854c2-4483-4902-bf65-6b7282eb3c3e",
"MerchandiserType": {
"Guid": "55186690-97fb-407c-9aa5-a6b0835d1e81",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "7a0a3d9d-9735-4df3-b89f-1f3915dd5a31",
"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>82369cb0-6895-4fd9-9b21-759fa0707f85</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>22173178-8614-44b9-a780-8da783f9601a</CommercialGuid>
<CompanyGuid>a2cb3d74-4a4f-450c-aec6-cf13d94a3a2b</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>ac816ab9-d8f7-4434-9842-681dd117e6ed</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>8d2918ff-c813-4d43-8016-e8c083155908</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>7def58f5-9730-447a-8cc3-47c046ba37cc</Guid>
<Id>1</Id>
<ImplantationAgentGuid>d7559054-cba4-448d-9ae9-3dd7019073e6</ImplantationAgentGuid>
<MerchandiserGuid>971854c2-4483-4902-bf65-6b7282eb3c3e</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>55186690-97fb-407c-9aa5-a6b0835d1e81</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>afa9c4b8-073f-4397-bb67-ceb953c4efe3</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>2b0c02fa-14aa-4c14-b0ab-3b3c48590aa8</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>7a0a3d9d-9735-4df3-b89f-1f3915dd5a31</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. |