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": "77064f44-163e-4fb2-8319-3448bdb6fa75",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "50aa50e5-8955-49c1-8cfc-4aeb6dabdb99",
"PosNegociated": true,
"PosAgentGuid": "689d6da8-5697-4cd6-944a-20cb50ee6869",
"BudgetNegociated": true,
"BudgetAgentGuid": "677f4ed1-aed1-4799-b97f-94def173a4f9",
"ImplantationAgentGuid": "73e0f45e-1e45-48ad-b644-369cdf0498b5",
"PrecoAgentGuid": "dab4b473-0605-494d-8e32-31c6fb0a17e8",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "67e763a3-4f6b-4efa-9b4b-fe1cbd0f9e7a",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "2baaef08-609d-449a-8e2f-8b1dea2a9a43",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "5b05a22b-4eb2-4e54-b45b-b6043e0cb117",
"MerchandiserGuid": "ca9176fa-8705-4035-b2d8-9565ee732fd0",
"MerchandiserType": {
"Guid": "4bd89a81-8c3b-45ce-b989-252f45528638",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "e5c7bc87-2f36-40e3-99fb-5983aedcd794",
"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>677f4ed1-aed1-4799-b97f-94def173a4f9</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>5b05a22b-4eb2-4e54-b45b-b6043e0cb117</CommercialGuid>
<CompanyGuid>50aa50e5-8955-49c1-8cfc-4aeb6dabdb99</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>67e763a3-4f6b-4efa-9b4b-fe1cbd0f9e7a</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>2baaef08-609d-449a-8e2f-8b1dea2a9a43</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>77064f44-163e-4fb2-8319-3448bdb6fa75</Guid>
<Id>1</Id>
<ImplantationAgentGuid>73e0f45e-1e45-48ad-b644-369cdf0498b5</ImplantationAgentGuid>
<MerchandiserGuid>ca9176fa-8705-4035-b2d8-9565ee732fd0</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>4bd89a81-8c3b-45ce-b989-252f45528638</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>689d6da8-5697-4cd6-944a-20cb50ee6869</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>dab4b473-0605-494d-8e32-31c6fb0a17e8</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>e5c7bc87-2f36-40e3-99fb-5983aedcd794</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. |