POST company/PostCompanyDetails
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": "2f9744a3-50bb-4d60-90f6-9b2b6db323b9",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "a27c49d2-c5de-4546-ae23-78a842f98dde",
"PosNegociated": true,
"PosAgentGuid": "8fc634bc-01b2-4905-9b76-742c6d3557fd",
"BudgetNegociated": true,
"BudgetAgentGuid": "6da2c565-062c-48ff-b546-442212ff9e63",
"ImplantationAgentGuid": "de5d4db0-4378-46af-b666-67dbb89c6281",
"PrecoAgentGuid": "cc2fa1d2-b803-4f37-873e-7df794d469a2",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "9b64d66b-2254-4947-8128-f76458f73b14",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "423552bc-ae50-462e-b678-a355842dd5af",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "7f64beac-8971-40dc-b820-586c36f9699b",
"MerchandiserGuid": "bc604e42-2c51-45ce-aa5a-3ed60daf41c1",
"MerchandiserType": {
"Guid": "4fb79241-a629-48c8-8351-6b8d63e93702",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "57fc428e-1644-474a-9fcf-8c809ca127d0",
"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>6da2c565-062c-48ff-b546-442212ff9e63</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>7f64beac-8971-40dc-b820-586c36f9699b</CommercialGuid>
<CompanyGuid>a27c49d2-c5de-4546-ae23-78a842f98dde</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>9b64d66b-2254-4947-8128-f76458f73b14</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>423552bc-ae50-462e-b678-a355842dd5af</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>2f9744a3-50bb-4d60-90f6-9b2b6db323b9</Guid>
<Id>1</Id>
<ImplantationAgentGuid>de5d4db0-4378-46af-b666-67dbb89c6281</ImplantationAgentGuid>
<MerchandiserGuid>bc604e42-2c51-45ce-aa5a-3ed60daf41c1</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>4fb79241-a629-48c8-8351-6b8d63e93702</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>8fc634bc-01b2-4905-9b76-742c6d3557fd</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>cc2fa1d2-b803-4f37-873e-7df794d469a2</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>57fc428e-1644-474a-9fcf-8c809ca127d0</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. |