POST RequestTypes/InsertOrUpdate
Inserts or Updates if already exists request types.
Request Information
URI Parameters
None.
Body Parameters
Enumerable RequestTypeDTOs
Collection of RequestTypeDTOName | Description | Type | Additional information |
---|---|---|---|
Name |
Name |
string |
None. |
Description |
Description |
string |
None. |
Metadata |
Gets or sets the indicator to specify if request metadata is filled |
boolean |
None. |
PostProcess |
post process |
boolean |
None. |
AddFiles |
Gets or sets the indicator to specify if files are added |
boolean |
None. |
RequiresProcessing |
Gets or sets the indicator to specify if request type requires processsing |
boolean |
None. |
Notes |
Gets or sets the notes for the request type. |
string |
None. |
WorkflowID |
Gets or sets the ID of workflow |
globally unique identifier |
None. |
Workflow |
Workflow |
string |
None. |
SupportMultiQuery |
Gets or sets if the request type supportes multi-query. |
boolean |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Request Formats
application/json, text/json
{ "results": [ { "Name": "sample string 1", "Description": "sample string 2", "Metadata": true, "PostProcess": true, "AddFiles": true, "RequiresProcessing": true, "Notes": "sample string 7", "WorkflowID": "dbb0c063-1c9a-4517-9929-aa3d5db5620c", "Workflow": "sample string 8", "SupportMultiQuery": true, "ID": "9db86819-b79e-4ae0-b970-008d4466486b", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "Metadata": true, "PostProcess": true, "AddFiles": true, "RequiresProcessing": true, "Notes": "sample string 7", "WorkflowID": "dbb0c063-1c9a-4517-9929-aa3d5db5620c", "Workflow": "sample string 8", "SupportMultiQuery": true, "ID": "9db86819-b79e-4ae0-b970-008d4466486b", "Timestamp": "QEA=" } ] }
text/javascript
{"results":[{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"dbb0c063-1c9a-4517-9929-aa3d5db5620c","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"9db86819-b79e-4ae0-b970-008d4466486b","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"dbb0c063-1c9a-4517-9929-aa3d5db5620c","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"9db86819-b79e-4ae0-b970-008d4466486b","Timestamp":"QEA="}]}
application/bson
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
<ArrayOfRequestTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <RequestTypeDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">9db86819-b79e-4ae0-b970-008d4466486b</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <AddFiles>true</AddFiles> <Description>sample string 2</Description> <Metadata>true</Metadata> <Name>sample string 1</Name> <Notes>sample string 7</Notes> <PostProcess>true</PostProcess> <RequiresProcessing>true</RequiresProcessing> <SupportMultiQuery>true</SupportMultiQuery> <Workflow>sample string 8</Workflow> <WorkflowID>dbb0c063-1c9a-4517-9929-aa3d5db5620c</WorkflowID> </RequestTypeDTO> <RequestTypeDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">9db86819-b79e-4ae0-b970-008d4466486b</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <AddFiles>true</AddFiles> <Description>sample string 2</Description> <Metadata>true</Metadata> <Name>sample string 1</Name> <Notes>sample string 7</Notes> <PostProcess>true</PostProcess> <RequiresProcessing>true</RequiresProcessing> <SupportMultiQuery>true</SupportMultiQuery> <Workflow>sample string 8</Workflow> <WorkflowID>dbb0c063-1c9a-4517-9929-aa3d5db5620c</WorkflowID> </RequestTypeDTO> </ArrayOfRequestTypeDTO>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Inserted or updated RequestTypeDTOs
Collection of RequestTypeDTOName | Description | Type | Additional information |
---|---|---|---|
Name |
Name |
string |
None. |
Description |
Description |
string |
None. |
Metadata |
Gets or sets the indicator to specify if request metadata is filled |
boolean |
None. |
PostProcess |
post process |
boolean |
None. |
AddFiles |
Gets or sets the indicator to specify if files are added |
boolean |
None. |
RequiresProcessing |
Gets or sets the indicator to specify if request type requires processsing |
boolean |
None. |
Notes |
Gets or sets the notes for the request type. |
string |
None. |
WorkflowID |
Gets or sets the ID of workflow |
globally unique identifier |
None. |
Workflow |
Workflow |
string |
None. |
SupportMultiQuery |
Gets or sets if the request type supportes multi-query. |
boolean |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Response Formats
application/json, text/json
{ "results": [ { "Name": "sample string 1", "Description": "sample string 2", "Metadata": true, "PostProcess": true, "AddFiles": true, "RequiresProcessing": true, "Notes": "sample string 7", "WorkflowID": "8c5817af-e3fa-4985-b0e4-82fa66219df3", "Workflow": "sample string 8", "SupportMultiQuery": true, "ID": "6ec8f4d6-515a-428e-8368-8fea2bc0af6d", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "Metadata": true, "PostProcess": true, "AddFiles": true, "RequiresProcessing": true, "Notes": "sample string 7", "WorkflowID": "8c5817af-e3fa-4985-b0e4-82fa66219df3", "Workflow": "sample string 8", "SupportMultiQuery": true, "ID": "6ec8f4d6-515a-428e-8368-8fea2bc0af6d", "Timestamp": "QEA=" } ] }
text/javascript
{"results":[{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"8c5817af-e3fa-4985-b0e4-82fa66219df3","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"6ec8f4d6-515a-428e-8368-8fea2bc0af6d","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"8c5817af-e3fa-4985-b0e4-82fa66219df3","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"6ec8f4d6-515a-428e-8368-8fea2bc0af6d","Timestamp":"QEA="}]}
application/bson
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
<ArrayOfRequestTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <RequestTypeDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">6ec8f4d6-515a-428e-8368-8fea2bc0af6d</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <AddFiles>true</AddFiles> <Description>sample string 2</Description> <Metadata>true</Metadata> <Name>sample string 1</Name> <Notes>sample string 7</Notes> <PostProcess>true</PostProcess> <RequiresProcessing>true</RequiresProcessing> <SupportMultiQuery>true</SupportMultiQuery> <Workflow>sample string 8</Workflow> <WorkflowID>8c5817af-e3fa-4985-b0e4-82fa66219df3</WorkflowID> </RequestTypeDTO> <RequestTypeDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">6ec8f4d6-515a-428e-8368-8fea2bc0af6d</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <AddFiles>true</AddFiles> <Description>sample string 2</Description> <Metadata>true</Metadata> <Name>sample string 1</Name> <Notes>sample string 7</Notes> <PostProcess>true</PostProcess> <RequiresProcessing>true</RequiresProcessing> <SupportMultiQuery>true</SupportMultiQuery> <Workflow>sample string 8</Workflow> <WorkflowID>8c5817af-e3fa-4985-b0e4-82fa66219df3</WorkflowID> </RequestTypeDTO> </ArrayOfRequestTypeDTO>