PUT Workflows/BusinessUnit/{workflowID}/{bUID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workflowID

integer

Required

bUID

integer

Required

validateOnly

boolean

Default value is False

Body Parameters

WorkflowBusinessUnitDTO
NameDescriptionTypeAdditional information
WorkflowID

integer

None.

BUID

integer

None.

Groups

Collection of WorkflowGroupBusinessUnitDTO

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "workflowID": 1,
  "buid": 2,
  "groups": [
    {
      "workflowID": 1,
      "buid": 2,
      "groupID": 3,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:09:07.7547824+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:09:07 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:09:07.7547824+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:09:07 AM"
      }
    },
    {
      "workflowID": 1,
      "buid": 2,
      "groupID": 3,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:09:07.7547824+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:09:07 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:09:07.7547824+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:09:07 AM"
      }
    }
  ],
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:09:07.7547824+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:09:07 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:09:07.7547824+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:09:07 AM"
  }
}

application/xml, text/xml

Sample:
<WorkflowBusinessUnitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <BUID>2</BUID>
  <Created>
    <DateUtc>2024-12-04T08:09:07.7547824+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <Groups>
    <WorkflowGroupBusinessUnitDTO>
      <BUID>2</BUID>
      <Created>
        <DateUtc>2024-12-04T08:09:07.7547824+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <GroupID>3</GroupID>
      <LastUpdated>
        <DateUtc>2024-12-04T08:09:07.7547824+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <WorkflowID>1</WorkflowID>
    </WorkflowGroupBusinessUnitDTO>
    <WorkflowGroupBusinessUnitDTO>
      <BUID>2</BUID>
      <Created>
        <DateUtc>2024-12-04T08:09:07.7547824+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <GroupID>3</GroupID>
      <LastUpdated>
        <DateUtc>2024-12-04T08:09:07.7547824+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <WorkflowID>1</WorkflowID>
    </WorkflowGroupBusinessUnitDTO>
  </Groups>
  <LastUpdated>
    <DateUtc>2024-12-04T08:09:07.7547824+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <RecordState>Active</RecordState>
  <WorkflowID>1</WorkflowID>
</WorkflowBusinessUnitDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�퐱
�0E%��Ծ�Hk6��Au���"��$)E�_��'���栃������}�s�\[h�9�
�L' "
�z��`r��ʂX��t怂Q�6��I���(/}��̋�KACƃ�ȗ�	����	�=D�j��\�~�,�B�����C[��4�׌�#�X���yn���
iݪ�~�3���*�͟�Ǭ�:U_�

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.