PUT operation/PutCompanyOperation

Request Information

URI Parameters

None.

Body Parameters

CompanyOperationsInput
NameDescriptionTypeAdditional 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.

ImplantationClosedAuthor

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": "7a15e552-86a5-4e86-8632-a9c4aad51a3a",
  "Campaign": 1,
  "CompanyOperationsStatusGuid": "ff494165-8dbc-4627-ab26-b9ea863bdbab",
  "OperationCanceled": true,
  "OperationNotDone": true,
  "CompanyGuid": "bf1dbbe5-43a6-4fcf-98a1-d6d9b67864d0",
  "OperationGuid": "b9427551-35e6-4175-82c6-36e3f6819956",
  "BudgetClosed": true,
  "BudgetClosedDate": "2025-12-06T07:31:24.259838+01:00",
  "BudgetClosedAuthorGuid": "4bbc71cb-cb5e-4c7b-beb8-64ef2e835c3a",
  "ImplantationClosed": true,
  "ImplantationClosedDate": "2025-12-06T07:31:24.259838+01:00",
  "ImplantationClosedAuthor": "8989e4c3-b0e9-4b0d-aea9-5ea320889a68",
  "PrecoClosed": true,
  "PrecoClosedDate": "2025-12-06T07:31:24.259838+01:00",
  "PrecoClosedAuthorGuid": "3cb12471-cd74-4fd5-8029-03805b209426"
}

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>4bbc71cb-cb5e-4c7b-beb8-64ef2e835c3a</BudgetClosedAuthorGuid>
  <BudgetClosedDate>2025-12-06T07:31:24.259838+01:00</BudgetClosedDate>
  <Campaign>1</Campaign>
  <CompanyGuid>bf1dbbe5-43a6-4fcf-98a1-d6d9b67864d0</CompanyGuid>
  <CompanyOperationsStatusGuid>ff494165-8dbc-4627-ab26-b9ea863bdbab</CompanyOperationsStatusGuid>
  <Guid>7a15e552-86a5-4e86-8632-a9c4aad51a3a</Guid>
  <Id>1</Id>
  <ImplantationClosed>true</ImplantationClosed>
  <ImplantationClosedAuthor>8989e4c3-b0e9-4b0d-aea9-5ea320889a68</ImplantationClosedAuthor>
  <ImplantationClosedDate>2025-12-06T07:31:24.259838+01:00</ImplantationClosedDate>
  <OperationCanceled>true</OperationCanceled>
  <OperationGuid>b9427551-35e6-4175-82c6-36e3f6819956</OperationGuid>
  <OperationNotDone>true</OperationNotDone>
  <PrecoClosed>true</PrecoClosed>
  <PrecoClosedAuthorGuid>3cb12471-cd74-4fd5-8029-03805b209426</PrecoClosedAuthorGuid>
  <PrecoClosedDate>2025-12-06T07:31:24.259838+01:00</PrecoClosedDate>
</CompanyOperationsInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CompanyOperationsInput'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.