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": "64f86eab-725d-4f50-af18-d16b6601b458",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "a40f2a69-505f-4caa-9844-6a6ca3a6c599",
"PosNegociated": true,
"PosAgentGuid": "56755668-39a3-4d35-874f-4e46bd2eca9b",
"BudgetNegociated": true,
"BudgetAgentGuid": "3a4e39ac-2376-4b09-bab7-5b2f9aaf1224",
"ImplantationAgentGuid": "f0a9366c-cd7c-44a1-a145-9f2c8f62a68d",
"PrecoAgentGuid": "7b9d89a9-3f90-4a1d-83c9-db86a8c77b1d",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "78ccaa6d-2823-4344-a56a-ecdbc50a88c7",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "ed86b849-6873-4d2f-8d0c-9f70363a0906",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "cb73d5b0-07d6-4a9d-b554-b1545b2de53d",
"MerchandiserGuid": "92ce05ea-3aa3-4ba6-a6c0-99334dceadcf",
"MerchandiserType": {
"Guid": "c406e508-9c7e-4bbb-9132-be83ff753683",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "ac449e8a-e9c2-4671-9395-b59307753a65",
"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>3a4e39ac-2376-4b09-bab7-5b2f9aaf1224</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>cb73d5b0-07d6-4a9d-b554-b1545b2de53d</CommercialGuid>
<CompanyGuid>a40f2a69-505f-4caa-9844-6a6ca3a6c599</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>78ccaa6d-2823-4344-a56a-ecdbc50a88c7</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>ed86b849-6873-4d2f-8d0c-9f70363a0906</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>64f86eab-725d-4f50-af18-d16b6601b458</Guid>
<Id>1</Id>
<ImplantationAgentGuid>f0a9366c-cd7c-44a1-a145-9f2c8f62a68d</ImplantationAgentGuid>
<MerchandiserGuid>92ce05ea-3aa3-4ba6-a6c0-99334dceadcf</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>c406e508-9c7e-4bbb-9132-be83ff753683</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>56755668-39a3-4d35-874f-4e46bd2eca9b</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>7b9d89a9-3f90-4a1d-83c9-db86a8c77b1d</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>ac449e8a-e9c2-4671-9395-b59307753a65</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. |