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": "52d8c330-0339-4778-b8dc-3de8fc1f8ff5",
"Code": "sample string 3",
"Campaign": 1,
"CompanyGuid": "9919ea6d-c7e0-43ce-bbc2-d6fa9e0b3f63",
"PosNegociated": true,
"PosAgentGuid": "43c45cca-cfc2-41cc-a3c7-bc7da7470e72",
"BudgetNegociated": true,
"BudgetAgentGuid": "ca358897-f545-4ba2-b813-981ba70d97ee",
"ImplantationAgentGuid": "4943248d-7115-43b4-97ea-7aa535a87d11",
"PrecoAgentGuid": "c7abb137-77b4-4962-8539-bcea2f56e433",
"PrecoTract": true,
"CompanyStatus": {
"Guid": "84732a30-a7be-4e5a-89f7-4d49dcc48067",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CompanyStore": {
"Guid": "e37c059b-4fb3-4231-9ea1-a55c35e161b8",
"Code": "sample string 2",
"Title": "sample string 3"
},
"CommercialGuid": "507ca680-b322-46ba-821a-bed700cd2c2b",
"MerchandiserGuid": "9f2bffa4-a19f-45d5-a709-f29a2f977bcb",
"MerchandiserType": {
"Guid": "f2fe9121-c73d-47ba-ad81-a0f91745fbbf",
"Code": "sample string 2",
"Title": "sample string 3"
},
"TelemarketerGuid": "77237ec2-7522-4f82-839f-457607b83abd",
"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>ca358897-f545-4ba2-b813-981ba70d97ee</BudgetAgentGuid>
<BudgetNegociated>true</BudgetNegociated>
<Campaign>1</Campaign>
<Code>sample string 3</Code>
<CommercialGuid>507ca680-b322-46ba-821a-bed700cd2c2b</CommercialGuid>
<CompanyGuid>9919ea6d-c7e0-43ce-bbc2-d6fa9e0b3f63</CompanyGuid>
<CompanyStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>84732a30-a7be-4e5a-89f7-4d49dcc48067</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>e37c059b-4fb3-4231-9ea1-a55c35e161b8</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</CompanyStore>
<Guid>52d8c330-0339-4778-b8dc-3de8fc1f8ff5</Guid>
<Id>1</Id>
<ImplantationAgentGuid>4943248d-7115-43b4-97ea-7aa535a87d11</ImplantationAgentGuid>
<MerchandiserGuid>9f2bffa4-a19f-45d5-a709-f29a2f977bcb</MerchandiserGuid>
<MerchandiserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestApi.Models.Outputs">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Guid>f2fe9121-c73d-47ba-ad81-a0f91745fbbf</d2p1:Guid>
<d2p1:Title>sample string 3</d2p1:Title>
</MerchandiserType>
<NewCampaign>true</NewCampaign>
<PosAgentGuid>43c45cca-cfc2-41cc-a3c7-bc7da7470e72</PosAgentGuid>
<PosNegociated>true</PosNegociated>
<PrecoAgentGuid>c7abb137-77b4-4962-8539-bcea2f56e433</PrecoAgentGuid>
<PrecoTract>true</PrecoTract>
<TelemarketerGuid>77237ec2-7522-4f82-839f-457607b83abd</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. |