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": "637009f1-1b94-4b84-beda-5e83f489f110",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "d187b9a0-eee5-4733-bf55-1f9be609998c",
"PosNegociated": true,
"PosAgentGuid": "a4662ab8-d107-4101-97ec-753c438cdb73",
"BudgetNegociated": true,
"BudgetAgentGuid": "dd8aa121-2b46-407c-94f2-216f3298bd0c",
"ImplantationAgentGuid": "aec23ff6-c4e8-420c-8b98-106c19074ef4",
"PrecoAgentGuid": "403c8cfb-3ac7-4b08-8c71-2e677150f0db",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "3f9a5d97-a7e6-4f65-b1e0-15ca4224931c",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "90326469-0458-46c0-9ed2-60321f2eba55",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "4895cedf-ec6d-4fac-84d0-b93edf332f9b",
"MerchandiserGuid": "abcf82d6-30cf-4b03-9ec1-cf9587e51f7a",
"MerchandiserType": {
"Guid": "72ddf0d6-bfe2-42bb-94da-d8413a90f110",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "611847e7-1773-4d6d-8df8-41749da45669",
"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>dd8aa121-2b46-407c-94f2-216f3298bd0c</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>4895cedf-ec6d-4fac-84d0-b93edf332f9b</CommercialGuid>
<CompanyGuid>d187b9a0-eee5-4733-bf55-1f9be609998c</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>3f9a5d97-a7e6-4f65-b1e0-15ca4224931c</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>90326469-0458-46c0-9ed2-60321f2eba55</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>637009f1-1b94-4b84-beda-5e83f489f110</Guid>
<Id>1</Id>
<ImplantationAgentGuid>aec23ff6-c4e8-420c-8b98-106c19074ef4</ImplantationAgentGuid>
<MerchandiserGuid>abcf82d6-30cf-4b03-9ec1-cf9587e51f7a</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>72ddf0d6-bfe2-42bb-94da-d8413a90f110</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>a4662ab8-d107-4101-97ec-753c438cdb73</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>403c8cfb-3ac7-4b08-8c71-2e677150f0db</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>611847e7-1773-4d6d-8df8-41749da45669</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. |