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": "dc75fc38-40e5-4239-a32b-e4452f0cbfc0",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "b3e129d6-5289-4256-8c64-6d1b0e2a30ab",
"PosNegociated": true,
"PosAgentGuid": "2f749d3c-8e21-4626-8528-25f9693d8a16",
"BudgetNegociated": true,
"BudgetAgentGuid": "b34d0887-1627-4207-99b1-f39488895b27",
"ImplantationAgentGuid": "a154b83c-7453-4ee7-bf45-57d30f2ac740",
"PrecoAgentGuid": "0d1d9e22-2a0a-4c63-9299-deab5bc68aa8",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "3134e243-fb46-4ad7-be27-f2c13a988dda",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "d389c99b-beca-4c76-986a-d25fd4414888",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "de548b7f-b164-4ffe-aa41-bf0a9971948c",
"MerchandiserGuid": "6e8d6ee3-b90d-4712-859d-9029210b5d85",
"MerchandiserType": {
"Guid": "62e5716f-2382-48e8-a1c7-699d2a4a678a",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "7cf25ff4-5667-4692-a58a-34abaf00e123",
"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>b34d0887-1627-4207-99b1-f39488895b27</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>de548b7f-b164-4ffe-aa41-bf0a9971948c</CommercialGuid>
<CompanyGuid>b3e129d6-5289-4256-8c64-6d1b0e2a30ab</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>3134e243-fb46-4ad7-be27-f2c13a988dda</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>d389c99b-beca-4c76-986a-d25fd4414888</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>dc75fc38-40e5-4239-a32b-e4452f0cbfc0</Guid>
<Id>1</Id>
<ImplantationAgentGuid>a154b83c-7453-4ee7-bf45-57d30f2ac740</ImplantationAgentGuid>
<MerchandiserGuid>6e8d6ee3-b90d-4712-859d-9029210b5d85</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>62e5716f-2382-48e8-a1c7-699d2a4a678a</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>2f749d3c-8e21-4626-8528-25f9693d8a16</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>0d1d9e22-2a0a-4c63-9299-deab5bc68aa8</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>7cf25ff4-5667-4692-a58a-34abaf00e123</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. |