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": "4fe10b6c-a6df-4ae9-baaa-3ca956d5c0da",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "1210a657-dc9f-47ee-a8bb-36b471de3aad",
"PosNegociated": true,
"PosAgentGuid": "def5a096-774d-4312-ae0d-29fbc829d00c",
"BudgetNegociated": true,
"BudgetAgentGuid": "fadcf491-b94c-4983-8f0b-8ebd96cdb3cb",
"ImplantationAgentGuid": "4a9e09f7-776d-432c-8464-147ea3945cf5",
"PrecoAgentGuid": "e6696326-09d2-4f5d-b55f-407c430868af",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "38200038-9c45-442d-af5f-8774b849848b",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "5504337a-6f13-4540-aedb-190f2fd2dfa0",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "97d219cb-e08c-40dd-a33e-a3a5000edf15",
"MerchandiserGuid": "d182e171-2a27-4bd5-ace2-8051c2dd922b",
"MerchandiserType": {
"Guid": "088be4c9-0a5b-469f-be1c-19518a89553f",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "f68925ee-f6d8-4b35-b793-33d3c6b56104",
"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>fadcf491-b94c-4983-8f0b-8ebd96cdb3cb</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>97d219cb-e08c-40dd-a33e-a3a5000edf15</CommercialGuid>
<CompanyGuid>1210a657-dc9f-47ee-a8bb-36b471de3aad</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>38200038-9c45-442d-af5f-8774b849848b</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>5504337a-6f13-4540-aedb-190f2fd2dfa0</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>4fe10b6c-a6df-4ae9-baaa-3ca956d5c0da</Guid>
<Id>1</Id>
<ImplantationAgentGuid>4a9e09f7-776d-432c-8464-147ea3945cf5</ImplantationAgentGuid>
<MerchandiserGuid>d182e171-2a27-4bd5-ace2-8051c2dd922b</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>088be4c9-0a5b-469f-be1c-19518a89553f</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>def5a096-774d-4312-ae0d-29fbc829d00c</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>e6696326-09d2-4f5d-b55f-407c430868af</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>f68925ee-f6d8-4b35-b793-33d3c6b56104</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. |