PUT {repositoryId}/Data/{id}/Paths

Adds a list of sending paths to a Data resource.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the Data resource.

string

Required

repositoryId

ID of the resource repository (optional).

string

Default value is

Body Parameters

List of SendingPath to add to the Data Resource.

Collection of SendingPath
NameDescriptionTypeAdditional information
Correspondent

NamedReference

None.

Address

NamedReference

None.

Carrier

NamedReference

None.

Transport

Transport

None.

SendId

string

None.

TargetSendingStatus

SendingStatus

None.

LeadTime

time interval

None.

SendingStatus

SendingStatus

None.

Completed

boolean

None.

StartDate

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Correspondent": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Address": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Carrier": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Transport": 0,
    "SendId": "sample string 1",
    "TargetSendingStatus": 0,
    "LeadTime": "00:00:00.1234567",
    "SendingStatus": 0,
    "Completed": true,
    "StartDate": "2024-11-22T09:00:17.4491545+01:00"
  },
  {
    "Correspondent": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Address": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Carrier": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Transport": 0,
    "SendId": "sample string 1",
    "TargetSendingStatus": 0,
    "LeadTime": "00:00:00.1234567",
    "SendingStatus": 0,
    "Completed": true,
    "StartDate": "2024-11-22T09:00:17.4491545+01:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSendingPath xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema">
  <SendingPath>
    <Address>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </Address>
    <Carrier>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </Carrier>
    <Completed>true</Completed>
    <Correspondent>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </Correspondent>
    <LeadTime>PT0.1234567S</LeadTime>
    <SendId>sample string 1</SendId>
    <SendingStatus>None</SendingStatus>
    <StartDate>2024-11-22T09:00:17.4491545+01:00</StartDate>
    <TargetSendingStatus>None</TargetSendingStatus>
    <Transport>Unknown</Transport>
  </SendingPath>
  <SendingPath>
    <Address>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </Address>
    <Carrier>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </Carrier>
    <Completed>true</Completed>
    <Correspondent>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </Correspondent>
    <LeadTime>PT0.1234567S</LeadTime>
    <SendId>sample string 1</SendId>
    <SendingStatus>None</SendingStatus>
    <StartDate>2024-11-22T09:00:17.4491545+01:00</StartDate>
    <TargetSendingStatus>None</TargetSendingStatus>
    <Transport>Unknown</Transport>
  </SendingPath>
</ArrayOfSendingPath>

application/x-www-form-urlencoded

Sample:

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.