PUT {repositoryId}/Data/{id}/Path
Adds a sending path to a Data resorce.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the Data resource. |
string |
Required |
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
Body Parameters
Path to add and old address.
SendingPathParamsName | Description | Type | Additional information |
---|---|---|---|
Path | SendingPath |
None. |
|
OldAddress | NamedReference |
None. |
Request Formats
application/json, text/json
Sample:
{ "Path": { "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-22T08:50:32.4097866+01:00" }, "OldAddress": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 } }
application/xml, text/xml
Sample:
<SendingPathParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/openwork.JamioWebAPI.Models"> <OldAddress xmlns:d2p1="http://www.openworkbpm.com/schema"> <d2p1:Type>Undefined</d2p1:Type> <d2p1:Url>sample string 2</d2p1:Url> <d2p1:Name>sample string 1</d2p1:Name> </OldAddress> <Path xmlns:d2p1="http://www.openworkbpm.com/schema"> <d2p1:Address> <d2p1:Type>Undefined</d2p1:Type> <d2p1:Url>sample string 2</d2p1:Url> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:Address> <d2p1:Carrier> <d2p1:Type>Undefined</d2p1:Type> <d2p1:Url>sample string 2</d2p1:Url> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:Carrier> <d2p1:Completed>true</d2p1:Completed> <d2p1:Correspondent> <d2p1:Type>Undefined</d2p1:Type> <d2p1:Url>sample string 2</d2p1:Url> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:Correspondent> <d2p1:LeadTime>PT0.1234567S</d2p1:LeadTime> <d2p1:SendId>sample string 1</d2p1:SendId> <d2p1:SendingStatus>None</d2p1:SendingStatus> <d2p1:StartDate>2024-11-22T08:50:32.4097866+01:00</d2p1:StartDate> <d2p1:TargetSendingStatus>None</d2p1:TargetSendingStatus> <d2p1:Transport>Unknown</d2p1:Transport> </Path> </SendingPathParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |