POST Workflow/InsertOrUpdate
Request Information
URI Parameters
None.
Body Parameters
Collection of WorkflowDTOName | Description | Type | Additional information |
---|---|---|---|
Name |
Name |
string |
None. |
Description |
Description |
string |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{ "results": [ { "Name": "sample string 1", "Description": "sample string 2", "ID": "768934fe-1c19-4c17-9e27-e8379bddb8ef", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "ID": "768934fe-1c19-4c17-9e27-e8379bddb8ef", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Name":"sample string 1","Description":"sample string 2","ID":"768934fe-1c19-4c17-9e27-e8379bddb8ef","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","ID":"768934fe-1c19-4c17-9e27-e8379bddb8ef","Timestamp":"QEA="}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfWorkflowDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <WorkflowDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">768934fe-1c19-4c17-9e27-e8379bddb8ef</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Description>sample string 2</Description> <Name>sample string 1</Name> </WorkflowDTO> <WorkflowDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">768934fe-1c19-4c17-9e27-e8379bddb8ef</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Description>sample string 2</Description> <Name>sample string 1</Name> </WorkflowDTO> </ArrayOfWorkflowDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of WorkflowDTOName | Description | Type | Additional information |
---|---|---|---|
Name |
Name |
string |
None. |
Description |
Description |
string |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "Name": "sample string 1", "Description": "sample string 2", "ID": "13308fc2-1f4f-4e3b-b08f-5c3996e4fb40", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "ID": "13308fc2-1f4f-4e3b-b08f-5c3996e4fb40", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Name":"sample string 1","Description":"sample string 2","ID":"13308fc2-1f4f-4e3b-b08f-5c3996e4fb40","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","ID":"13308fc2-1f4f-4e3b-b08f-5c3996e4fb40","Timestamp":"QEA="}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfWorkflowDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <WorkflowDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">13308fc2-1f4f-4e3b-b08f-5c3996e4fb40</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Description>sample string 2</Description> <Name>sample string 1</Name> </WorkflowDTO> <WorkflowDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">13308fc2-1f4f-4e3b-b08f-5c3996e4fb40</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Description>sample string 2</Description> <Name>sample string 1</Name> </WorkflowDTO> </ArrayOfWorkflowDTO>