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": "32b9306b-f425-4525-a28e-4b953a1c10e4",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "8e172508-3a5f-4c7a-a290-6c51bf20281f",
"PosNegociated": true,
"PosAgentGuid": "89832a86-14d3-4dd3-942f-6824631a4533",
"BudgetNegociated": true,
"BudgetAgentGuid": "abacc397-543c-4221-8b61-a16aa83e5a00",
"ImplantationAgentGuid": "bf58656c-f393-47e5-abd0-e3d3cf3dbbfd",
"PrecoAgentGuid": "c26b55db-c030-4589-a4ab-76c2bb1a09e5",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "e43b33f3-cdcb-4667-ac2e-ef27fd985779",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "346f6458-8fe8-4728-b775-96afc908884e",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "d838f682-8155-4985-bdd5-bcf35cfe2146",
"MerchandiserGuid": "fb537a88-de54-457e-a4ce-85c06cb6f1f6",
"MerchandiserType": {
"Guid": "005b265e-23b0-42d1-ac66-8d2b6d1d1f8b",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "e5798103-3052-4a7b-b7f9-653e99b97e94",
"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>abacc397-543c-4221-8b61-a16aa83e5a00</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>d838f682-8155-4985-bdd5-bcf35cfe2146</CommercialGuid>
<CompanyGuid>8e172508-3a5f-4c7a-a290-6c51bf20281f</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>e43b33f3-cdcb-4667-ac2e-ef27fd985779</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>346f6458-8fe8-4728-b775-96afc908884e</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>32b9306b-f425-4525-a28e-4b953a1c10e4</Guid>
<Id>1</Id>
<ImplantationAgentGuid>bf58656c-f393-47e5-abd0-e3d3cf3dbbfd</ImplantationAgentGuid>
<MerchandiserGuid>fb537a88-de54-457e-a4ce-85c06cb6f1f6</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>005b265e-23b0-42d1-ac66-8d2b6d1d1f8b</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>89832a86-14d3-4dd3-942f-6824631a4533</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>c26b55db-c030-4589-a4ab-76c2bb1a09e5</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>e5798103-3052-4a7b-b7f9-653e99b97e94</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. |