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": "43b7153c-2da4-4aef-aa41-bcc1e1f9638e",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "f0b43b3d-78f3-41b7-8b0d-dae9525d1efd",
"PosNegociated": true,
"PosAgentGuid": "b1287544-614b-4dd9-ab1a-ab17cc19a558",
"BudgetNegociated": true,
"BudgetAgentGuid": "7c85901c-bca4-4be1-8496-b5940936bbb5",
"ImplantationAgentGuid": "ec1aaea7-427b-41c1-b9c0-366afba41c2d",
"PrecoAgentGuid": "68079536-6b3c-4a59-8809-ae4a3b7ad5a0",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "6b430149-08ae-4051-8d26-e8c2f6a65425",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "417f37ab-1c25-4727-9441-9805449610e3",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "175f00b6-2f21-4575-af90-ec69645bc641",
"MerchandiserGuid": "5b74d4cc-52d1-4258-aa9f-d233177ca3a8",
"MerchandiserType": {
"Guid": "4bdf4fac-2bdb-4c49-bc52-21bf4ecc42f2",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "e7de3f55-db2a-4c8a-bbf0-b75fb182930d",
"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>7c85901c-bca4-4be1-8496-b5940936bbb5</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>175f00b6-2f21-4575-af90-ec69645bc641</CommercialGuid>
<CompanyGuid>f0b43b3d-78f3-41b7-8b0d-dae9525d1efd</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>6b430149-08ae-4051-8d26-e8c2f6a65425</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>417f37ab-1c25-4727-9441-9805449610e3</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>43b7153c-2da4-4aef-aa41-bcc1e1f9638e</Guid>
<Id>1</Id>
<ImplantationAgentGuid>ec1aaea7-427b-41c1-b9c0-366afba41c2d</ImplantationAgentGuid>
<MerchandiserGuid>5b74d4cc-52d1-4258-aa9f-d233177ca3a8</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>4bdf4fac-2bdb-4c49-bc52-21bf4ecc42f2</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>b1287544-614b-4dd9-ab1a-ab17cc19a558</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>68079536-6b3c-4a59-8809-ae4a3b7ad5a0</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>e7de3f55-db2a-4c8a-bbf0-b75fb182930d</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. |