PUT Workflows/RuleTrigger/{workflowRuleTriggerID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workflowRuleTriggerID

integer

Required

validateOnly

boolean

Default value is False

Body Parameters

WorkflowRuleTriggerDTO
NameDescriptionTypeAdditional information
WorkflowRuleTriggerID

integer

None.

WorkflowRuleID

integer

None.

ParentRuleTriggerID

integer

None.

FieldType

WorkflowFieldType

None.

ExpressionType

WorkflowExpressionType

None.

ExpressionValue

Collection of Object

None.

WorkflowRuleActions

Collection of WorkflowRuleActionDTO

None.

Summary

string

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "workflowRuleTriggerID": 1,
  "workflowRuleID": 2,
  "parentRuleTriggerID": 1,
  "fieldType": 1,
  "expressionType": 1,
  "workflowRuleActions": [
    {
      "workflowRuleActionID": 1,
      "workflowRuleTriggerID": 2,
      "actionType": 1,
      "fieldType": 1,
      "value": [],
      "summary": "sample string 3",
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:15:39.9880505+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:15:39 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:15:39.9880505+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:15:39 AM"
      }
    },
    {
      "workflowRuleActionID": 1,
      "workflowRuleTriggerID": 2,
      "actionType": 1,
      "fieldType": 1,
      "value": [],
      "summary": "sample string 3",
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:15:39.9880505+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:15:39 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:15:39.9880505+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:15:39 AM"
      }
    }
  ],
  "summary": "sample string 3",
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:15:39.9880505+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:15:39 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:15:39.9880505+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:15:39 AM"
  }
}

application/xml, text/xml

Sample:
<WorkflowRuleTriggerDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <Created>
    <DateUtc>2024-12-04T08:15:39.9880505+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <ExpressionType>Answered</ExpressionType>
  <ExpressionValue xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <FieldType>BusinessUnit</FieldType>
  <LastUpdated>
    <DateUtc>2024-12-04T08:15:39.9880505+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <ParentRuleTriggerID>1</ParentRuleTriggerID>
  <RecordState>Active</RecordState>
  <Summary>sample string 3</Summary>
  <WorkflowRuleActions>
    <WorkflowRuleActionDTO>
      <ActionType>SetValue</ActionType>
      <Created>
        <DateUtc>2024-12-04T08:15:39.9880505+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <FieldType>BusinessUnit</FieldType>
      <LastUpdated>
        <DateUtc>2024-12-04T08:15:39.9880505+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <Summary>sample string 3</Summary>
      <Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" />
      <WorkflowRuleActionID>1</WorkflowRuleActionID>
      <WorkflowRuleTriggerID>2</WorkflowRuleTriggerID>
    </WorkflowRuleActionDTO>
    <WorkflowRuleActionDTO>
      <ActionType>SetValue</ActionType>
      <Created>
        <DateUtc>2024-12-04T08:15:39.9880505+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <FieldType>BusinessUnit</FieldType>
      <LastUpdated>
        <DateUtc>2024-12-04T08:15:39.9880505+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <Summary>sample string 3</Summary>
      <Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" />
      <WorkflowRuleActionID>1</WorkflowRuleActionID>
      <WorkflowRuleTriggerID>2</WorkflowRuleTriggerID>
    </WorkflowRuleActionDTO>
  </WorkflowRuleActions>
  <WorkflowRuleID>2</WorkflowRuleID>
  <WorkflowRuleTriggerID>1</WorkflowRuleTriggerID>
</WorkflowRuleTriggerDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
��Q�N�0��V\급�z����S�`��(‰��C��~��/�T�j�:t{������V�^�֭�z��U�t*�G�-%9t��
����)��*|���]���fe�-j1��Ϙx�z7�W>�~Ӷ�h����M�i
�n:���ۊM�a��<~�J�
�L�P�5)d:J�H���U����v��"ٍJ�(�{�G�����H�Z��q:�Z�_m6{�
�}�w�2�l��E��������t�1

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.