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": "16b07afc-7161-45e4-a6fa-942a2d744120",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "47f472ca-465e-4de1-a280-1e7893a0859c",
"PosNegociated": true,
"PosAgentGuid": "afea6679-ec33-4d7c-badd-a6f7c3dbdada",
"BudgetNegociated": true,
"BudgetAgentGuid": "4e608a51-cba7-4f59-a4da-9e57b447575a",
"ImplantationAgentGuid": "8b9cbc3f-ac40-4ca9-b4e7-975b1526f2e3",
"PrecoAgentGuid": "ec323d27-db01-492c-8814-bac9eaa60200",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "1de62f76-0907-42a1-9f87-22a85420709f",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "5e910b90-d164-4d81-89b8-48021fbff8f1",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "f9017d78-14df-47fc-9c53-51f216c1cd86",
"MerchandiserGuid": "f2af3d03-d530-4006-8843-4fad5bcb20df",
"MerchandiserType": {
"Guid": "f8017756-230e-4a02-834f-29e53d12c10b",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "6bc4653b-de56-4571-91a2-3691fbf9a8fa",
"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>4e608a51-cba7-4f59-a4da-9e57b447575a</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>f9017d78-14df-47fc-9c53-51f216c1cd86</CommercialGuid>
<CompanyGuid>47f472ca-465e-4de1-a280-1e7893a0859c</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>1de62f76-0907-42a1-9f87-22a85420709f</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>5e910b90-d164-4d81-89b8-48021fbff8f1</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>16b07afc-7161-45e4-a6fa-942a2d744120</Guid>
<Id>1</Id>
<ImplantationAgentGuid>8b9cbc3f-ac40-4ca9-b4e7-975b1526f2e3</ImplantationAgentGuid>
<MerchandiserGuid>f2af3d03-d530-4006-8843-4fad5bcb20df</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>f8017756-230e-4a02-834f-29e53d12c10b</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>afea6679-ec33-4d7c-badd-a6f7c3dbdada</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>ec323d27-db01-492c-8814-bac9eaa60200</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>6bc4653b-de56-4571-91a2-3691fbf9a8fa</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. |