POST   https://api.d-tools.com/SI/Publish/Projects/LockChangeOrderStatus

Mark existing SI project change order status as locked or unlocked.

Request Information

URI Parameters

None.

Body Parameters

LockChangeOrderStatus
NameDescriptionTypeAdditional information
ProjectId

Id of project to update (Required)

string

None.

LockChangeOrderStatusInfos

List of Change Order to lock status or unlock status

Collection of LockChangeOrderStatusInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": "sample string 1",
  "MessageId": "6eeb7400-3c89-483c-8735-914bae090519",
  "Date": "2025-06-25T11:32:40.1518729+00:00",
  "LockChangeOrderStatusInfos": [
    {
      "IntegrationChangeOrderId": "sample string 1",
      "Number": "sample string 2",
      "Type": "sample string 3",
      "LockStatus": true
    },
    {
      "IntegrationChangeOrderId": "sample string 1",
      "Number": "sample string 2",
      "Type": "sample string 3",
      "LockStatus": true
    }
  ]
}

application/xml, text/xml

Sample:
<LockChangeOrderStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTools.SICloudAPI.DataObjects">
  <Date>2025-06-25T11:32:40.1518729+00:00</Date>
  <LockChangeOrderStatusInfos>
    <LockChangeOrderStatusInfo>
      <IntegrationChangeOrderId>sample string 1</IntegrationChangeOrderId>
      <LockStatus>true</LockStatus>
      <Number>sample string 2</Number>
      <Type>sample string 3</Type>
    </LockChangeOrderStatusInfo>
    <LockChangeOrderStatusInfo>
      <IntegrationChangeOrderId>sample string 1</IntegrationChangeOrderId>
      <LockStatus>true</LockStatus>
      <Number>sample string 2</Number>
      <Type>sample string 3</Type>
    </LockChangeOrderStatusInfo>
  </LockChangeOrderStatusInfos>
  <MessageId>6eeb7400-3c89-483c-8735-914bae090519</MessageId>
  <ProjectId>sample string 1</ProjectId>
</LockChangeOrderStatus>

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 'LockChangeOrderStatus'.

Response Information

Resource Description

PublishResponse
NameDescriptionTypeAdditional information
MessageId

Check the status of the transaction using this Message Id

globally unique identifier

None.

Message

Success Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageId": "10720478-b2ff-4ace-a181-37c179f307f5",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<PublishResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTools.SICloudAPI.DataObjects">
  <Message>sample string 2</Message>
  <MessageId>10720478-b2ff-4ace-a181-37c179f307f5</MessageId>
</PublishResponse>