PUT operation/PutCompanyOperation
Update Company operation
Request Information
URI Parameters
None.
Body Parameters
CompanyOperationsInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Guid | globally unique identifier |
None. |
|
| Campaign | integer |
None. |
|
| CompanyOperationsStatusGuid | globally unique identifier |
None. |
|
| OperationCanceled | boolean |
None. |
|
| OperationNotDone | boolean |
None. |
|
| CompanyGuid | globally unique identifier |
None. |
|
| OperationGuid | globally unique identifier |
None. |
|
| BudgetClosed | boolean |
None. |
|
| BudgetClosedDate | date |
None. |
|
| BudgetClosedAuthorGuid | globally unique identifier |
None. |
|
| ImplantationClosed | boolean |
None. |
|
| ImplantationClosedDate | date |
None. |
|
| ImplantationClosedAuthorGuid | globally unique identifier |
None. |
|
| PosClosed | boolean |
None. |
|
| PosClosedDate | date |
None. |
|
| PosClosedAuthorGuid | globally unique identifier |
None. |
|
| PrecoClosed | boolean |
None. |
|
| PrecoClosedDate | date |
None. |
|
| PrecoClosedAuthorGuid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Guid": "76dcb694-3a0b-400f-89be-14fd77f1c862",
"Campaign": 1,
"CompanyOperationsStatusGuid": "16396481-6cd6-424c-84cd-7800a1b8a12a",
"OperationCanceled": true,
"OperationNotDone": true,
"CompanyGuid": "2addeb71-5c78-4c0a-a7cd-403f5e2b5217",
"OperationGuid": "33f1b7eb-7c6b-4ecd-a635-1f300cbcb5a3",
"BudgetClosed": true,
"BudgetClosedDate": "2026-10-27T22:36:36.4243084+01:00",
"BudgetClosedAuthorGuid": "40787afd-f562-4538-b65f-e4a7cace39b3",
"ImplantationClosed": true,
"ImplantationClosedDate": "2026-10-27T22:36:36.4243084+01:00",
"ImplantationClosedAuthorGuid": "66f037ec-9e0e-4dc7-9d64-deca103db21d",
"PosClosed": true,
"PosClosedDate": "2026-10-27T22:36:36.4243084+01:00",
"PosClosedAuthorGuid": "a6c883c2-c855-41ec-b232-493eb456025f",
"PrecoClosed": true,
"PrecoClosedDate": "2026-10-27T22:36:36.4243084+01:00",
"PrecoClosedAuthorGuid": "0e1c695e-e50c-45e2-a814-833385007dd4"
}
application/xml, text/xml
Sample:
<CompanyOperationsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestApi.Models.Inputs"> <BudgetClosed>true</BudgetClosed> <BudgetClosedAuthorGuid>40787afd-f562-4538-b65f-e4a7cace39b3</BudgetClosedAuthorGuid> <BudgetClosedDate>2026-10-27T22:36:36.4243084+01:00</BudgetClosedDate> <Campaign>1</Campaign> <CompanyGuid>2addeb71-5c78-4c0a-a7cd-403f5e2b5217</CompanyGuid> <CompanyOperationsStatusGuid>16396481-6cd6-424c-84cd-7800a1b8a12a</CompanyOperationsStatusGuid> <Guid>76dcb694-3a0b-400f-89be-14fd77f1c862</Guid> <Id>1</Id> <ImplantationClosed>true</ImplantationClosed> <ImplantationClosedAuthorGuid>66f037ec-9e0e-4dc7-9d64-deca103db21d</ImplantationClosedAuthorGuid> <ImplantationClosedDate>2026-10-27T22:36:36.4243084+01:00</ImplantationClosedDate> <OperationCanceled>true</OperationCanceled> <OperationGuid>33f1b7eb-7c6b-4ecd-a635-1f300cbcb5a3</OperationGuid> <OperationNotDone>true</OperationNotDone> <PosClosed>true</PosClosed> <PosClosedAuthorGuid>a6c883c2-c855-41ec-b232-493eb456025f</PosClosedAuthorGuid> <PosClosedDate>2026-10-27T22:36:36.4243084+01:00</PosClosedDate> <PrecoClosed>true</PrecoClosed> <PrecoClosedAuthorGuid>0e1c695e-e50c-45e2-a814-833385007dd4</PrecoClosedAuthorGuid> <PrecoClosedDate>2026-10-27T22:36:36.4243084+01:00</PrecoClosedDate> </CompanyOperationsInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Company operation
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. |