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": "365b8e7c-b842-4db2-9748-60d601dc22c2",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "039082c2-156d-4211-b830-daea65ad09e9",
"PosNegociated": true,
"PosAgentGuid": "8ceca2fb-e5d0-4f93-871a-a507f1025273",
"BudgetNegociated": true,
"BudgetAgentGuid": "b0bb79a1-1cb9-402a-b502-53032eec7b37",
"ImplantationAgentGuid": "3490b1c9-45bf-4e06-bdcd-a460f005285c",
"PrecoAgentGuid": "774c1e6d-ee4c-4589-ae71-250ac6371919",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "e111b4f8-58e5-47ad-b56a-bf53fc9cac6f",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "c72fe029-86bc-41c2-be3f-040048b2bb5f",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "74a5a057-d39e-4336-bad3-c1ab48b316ec",
"MerchandiserGuid": "c14d62e5-0870-4887-823b-ed4339dd603a",
"MerchandiserType": {
"Guid": "99bb8ece-df83-4d25-bfe9-c212edd8fc7b",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "6f525932-a6c5-4b75-a6e8-48360d81825d",
"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>b0bb79a1-1cb9-402a-b502-53032eec7b37</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>74a5a057-d39e-4336-bad3-c1ab48b316ec</CommercialGuid>
<CompanyGuid>039082c2-156d-4211-b830-daea65ad09e9</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>e111b4f8-58e5-47ad-b56a-bf53fc9cac6f</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>c72fe029-86bc-41c2-be3f-040048b2bb5f</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>365b8e7c-b842-4db2-9748-60d601dc22c2</Guid>
<Id>1</Id>
<ImplantationAgentGuid>3490b1c9-45bf-4e06-bdcd-a460f005285c</ImplantationAgentGuid>
<MerchandiserGuid>c14d62e5-0870-4887-823b-ed4339dd603a</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>99bb8ece-df83-4d25-bfe9-c212edd8fc7b</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>8ceca2fb-e5d0-4f93-871a-a507f1025273</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>774c1e6d-ee4c-4589-ae71-250ac6371919</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>6f525932-a6c5-4b75-a6e8-48360d81825d</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. |