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": "acd01c24-4650-421a-867a-67a76dffcb79",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "644e097f-e64d-4180-8033-efea1bbb26e6",
"PosNegociated": true,
"PosAgentGuid": "fd13567c-fc38-47fe-807d-663766199f11",
"BudgetNegociated": true,
"BudgetAgentGuid": "58c768f7-a693-433f-addd-b0e04a14d976",
"ImplantationAgentGuid": "0dc57afb-f3a9-478f-a845-d0dea19246b9",
"PrecoAgentGuid": "decdaf22-e3d7-436a-b20f-7d93da4e87b1",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "43e1e9cd-163a-435d-869f-120a9acbaa92",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "a4070a48-7d68-4128-b5c2-a2caf193dc32",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "67ebfa58-2aa3-4580-af1b-376121dd1628",
"MerchandiserGuid": "6e6cd155-11d4-41f4-9d07-4abcab9e0709",
"MerchandiserType": {
"Guid": "0cacff2d-3002-4b95-a056-d12819d6780f",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "3a1dcfc0-1461-4a03-a723-d73be5ea6b2c",
"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>58c768f7-a693-433f-addd-b0e04a14d976</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>67ebfa58-2aa3-4580-af1b-376121dd1628</CommercialGuid>
<CompanyGuid>644e097f-e64d-4180-8033-efea1bbb26e6</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>43e1e9cd-163a-435d-869f-120a9acbaa92</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>a4070a48-7d68-4128-b5c2-a2caf193dc32</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>acd01c24-4650-421a-867a-67a76dffcb79</Guid>
<Id>1</Id>
<ImplantationAgentGuid>0dc57afb-f3a9-478f-a845-d0dea19246b9</ImplantationAgentGuid>
<MerchandiserGuid>6e6cd155-11d4-41f4-9d07-4abcab9e0709</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>0cacff2d-3002-4b95-a056-d12819d6780f</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>fd13567c-fc38-47fe-807d-663766199f11</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>decdaf22-e3d7-436a-b20f-7d93da4e87b1</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>3a1dcfc0-1461-4a03-a723-d73be5ea6b2c</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. |