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": "1c2484e1-d0a4-4915-95ec-bd820f559b63",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "1e44bfa2-f00a-49ec-babb-57e3648918f9",
"PosNegociated": true,
"PosAgentGuid": "7702e741-0448-4168-bd97-ee23de5dca7c",
"BudgetNegociated": true,
"BudgetAgentGuid": "8bbeb7e1-3cdd-4134-9ccb-eb8b0b24856c",
"ImplantationAgentGuid": "084d4d1e-e3b8-4c2a-b971-f604d4c5265d",
"PrecoAgentGuid": "a62289fc-f9f8-457d-9d36-d00c448f0574",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "a196ac9e-e410-4f43-896e-662f3c885e46",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "e7d39c93-43b0-4507-8bac-8d6a6923737b",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "bf799057-509d-4c5d-8b82-75787cf58bbc",
"MerchandiserGuid": "e3314b22-1e02-4fb4-90ad-f4d34c5e9af8",
"MerchandiserType": {
"Guid": "fb75b163-26fc-4426-a9ec-3f8020dd7200",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "b9f84651-2389-4b31-a4e5-c720d8d51793",
"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>8bbeb7e1-3cdd-4134-9ccb-eb8b0b24856c</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>bf799057-509d-4c5d-8b82-75787cf58bbc</CommercialGuid>
<CompanyGuid>1e44bfa2-f00a-49ec-babb-57e3648918f9</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>a196ac9e-e410-4f43-896e-662f3c885e46</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>e7d39c93-43b0-4507-8bac-8d6a6923737b</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>1c2484e1-d0a4-4915-95ec-bd820f559b63</Guid>
<Id>1</Id>
<ImplantationAgentGuid>084d4d1e-e3b8-4c2a-b971-f604d4c5265d</ImplantationAgentGuid>
<MerchandiserGuid>e3314b22-1e02-4fb4-90ad-f4d34c5e9af8</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>fb75b163-26fc-4426-a9ec-3f8020dd7200</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>7702e741-0448-4168-bd97-ee23de5dca7c</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>a62289fc-f9f8-457d-9d36-d00c448f0574</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>b9f84651-2389-4b31-a4e5-c720d8d51793</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. |