POST ops/checklists/checklists
Request Information
URI Parameters
None.
Body Parameters
ChecklistPOSTName | Description | Type | Additional information |
---|---|---|---|
CategoryId | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Checks | Collection of CheckForChecklistPOST |
None. |
|
UserUid | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "categoryId": 1, "name": "sample string 2", "description": "sample string 3", "checks": [ { "id": 1, "iloStandard": true }, { "id": 1, "iloStandard": true } ], "userUid": "sample string 4" }
application/xml, text/xml
Sample:
<ChecklistPOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists"> <CategoryId>1</CategoryId> <Checks> <CheckForChecklistPOST> <Id>1</Id> <IloStandard>true</IloStandard> </CheckForChecklistPOST> <CheckForChecklistPOST> <Id>1</Id> <IloStandard>true</IloStandard> </CheckForChecklistPOST> </Checks> <Description>sample string 3</Description> <Name>sample string 2</Name> <UserUid>sample string 4</UserUid> </ChecklistPOST>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ChecklistGETName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Category | CategoryGET |
None. |
|
Modified | date |
None. |
|
Status | Status |
None. |
|
ModifiedBy | UserBasicGET |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "description": "sample string 3", "category": { "id": 1, "categoryName": "sample string 2", "description": "sample string 3", "modified": "2024-11-20T21:10:05.0396404+00:00", "status": { "id": 1, "name": "sample string 2" }, "modifiedBy": { "firstName": "sample string 1", "id": 2, "lastName": "sample string 3", "uid": "sample string 4", "username": "sample string 5" } }, "modified": "2024-11-20T21:10:05.0396404+00:00", "status": { "id": 1, "name": "sample string 2" }, "modifiedBy": { "firstName": "sample string 1", "id": 2, "lastName": "sample string 3", "uid": "sample string 4", "username": "sample string 5" } }
application/xml, text/xml
Sample:
<ChecklistGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists"> <Category> <CategoryName>sample string 2</CategoryName> <Description>sample string 3</Description> <Id>1</Id> <Modified>2024-11-20T21:10:05.0396404+00:00</Modified> <ModifiedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:FirstName>sample string 1</d3p1:FirstName> <d3p1:Id>2</d3p1:Id> <d3p1:LastName>sample string 3</d3p1:LastName> <d3p1:Uid>sample string 4</d3p1:Uid> <d3p1:Username>sample string 5</d3p1:Username> </ModifiedBy> <Status xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Status> </Category> <Description>sample string 3</Description> <Id>1</Id> <Modified>2024-11-20T21:10:05.0396404+00:00</Modified> <ModifiedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d2p1:FirstName>sample string 1</d2p1:FirstName> <d2p1:Id>2</d2p1:Id> <d2p1:LastName>sample string 3</d2p1:LastName> <d2p1:Uid>sample string 4</d2p1:Uid> <d2p1:Username>sample string 5</d2p1:Username> </ModifiedBy> <Name>sample string 2</Name> <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Status> </ChecklistGET>