POST api/CheckList/DuplicateCheckList
Api to save CheckList
Request Information
URI Parameters
None.
Body Parameters
DuplicateCheckListRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RefCheckListID | integer |
Required |
|
| CheckListID | integer |
None. |
|
| Title | string |
Required |
|
| CheckListCode | string |
None. |
|
| Description | string |
None. |
|
| CheckListTypeID | integer |
None. |
|
| IsWorkThrough | boolean |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{
"refCheckListID": 1,
"checkListID": 1,
"title": "sample string 2",
"checkListCode": "sample string 3",
"description": "sample string 4",
"checkListTypeID": 1,
"isWorkThrough": true
}
application/xml, text/xml
Sample:
<DuplicateCheckListRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.RequestModel.CheckList"> <CheckListCode>sample string 3</CheckListCode> <CheckListID>1</CheckListID> <CheckListTypeID>1</CheckListTypeID> <Description>sample string 4</Description> <IsWorkThrough>true</IsWorkThrough> <Title>sample string 2</Title> <RefCheckListID>1</RefCheckListID> </DuplicateCheckListRequestModel>
multipart/form-data
Sample:
<DuplicateCheckListRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.RequestModel.CheckList"><CheckListCode>sample string 3</CheckListCode><CheckListID>1</CheckListID><CheckListTypeID>1</CheckListTypeID><Description>sample string 4</Description><IsWorkThrough>true</IsWorkThrough><Title>sample string 2</Title><RefCheckListID>1</RefCheckListID></DuplicateCheckListRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommonResponseDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnID | integer |
Required |
|
| Message | string |
Required |
|
| Successful | boolean |
Required |
|
| Code | integer |
None. |
|
| TotalRecord | integer |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{
"returnID": 1,
"message": "sample string 2",
"successful": true,
"code": 4,
"totalRecord": 5
}
application/xml, text/xml
Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel"> <Code>4</Code> <Message>sample string 2</Message> <ReturnID>1</ReturnID> <Successful>true</Successful> <TotalRecord>5</TotalRecord> </CommonResponseDataModel>
multipart/form-data
Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>