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": "b7368ac5-1d9b-47cd-a1bf-7a0c2c162958",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "1afa27be-6622-47f0-a5b1-1d57057430bc",
"PosNegociated": true,
"PosAgentGuid": "17ad0877-a92a-4645-89ac-63d9ca9a7678",
"BudgetNegociated": true,
"BudgetAgentGuid": "0ba5e248-bec3-4761-97ab-cbdeaa4637dd",
"ImplantationAgentGuid": "8cc74d18-4639-47a4-afbd-a0c3deaadc11",
"PrecoAgentGuid": "bee9b178-3523-4fb1-ac41-696ee6587025",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "63bfbe5a-4025-497a-8117-037299febc63",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "55cf5e72-a17d-47a6-889a-6178a506416e",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "825312e4-c62b-4a6e-85c1-0f564cae9155",
"MerchandiserGuid": "50f04a8b-7ca1-4092-8bc5-1eac53642360",
"MerchandiserType": {
"Guid": "da3f7d7a-cc02-4be1-b65e-e65c7e73db9e",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "1f392f43-fb06-47b9-9236-928639568b6e",
"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>0ba5e248-bec3-4761-97ab-cbdeaa4637dd</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>825312e4-c62b-4a6e-85c1-0f564cae9155</CommercialGuid>
<CompanyGuid>1afa27be-6622-47f0-a5b1-1d57057430bc</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>63bfbe5a-4025-497a-8117-037299febc63</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>55cf5e72-a17d-47a6-889a-6178a506416e</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>b7368ac5-1d9b-47cd-a1bf-7a0c2c162958</Guid>
<Id>1</Id>
<ImplantationAgentGuid>8cc74d18-4639-47a4-afbd-a0c3deaadc11</ImplantationAgentGuid>
<MerchandiserGuid>50f04a8b-7ca1-4092-8bc5-1eac53642360</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>da3f7d7a-cc02-4be1-b65e-e65c7e73db9e</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>17ad0877-a92a-4645-89ac-63d9ca9a7678</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>bee9b178-3523-4fb1-ac41-696ee6587025</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>1f392f43-fb06-47b9-9236-928639568b6e</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. |