PUT api/Checklist
Update checklist
Request Information
URI Parameters
None.
Body Parameters
ChecklistRequestModelName | Description | Type | Additional information |
---|---|---|---|
ChecklistId | integer |
None. |
|
Title | string |
Required |
|
Description | string |
None. |
|
ProductId | integer |
None. |
|
IsActive | boolean |
Required |
|
AddedBy | integer |
Required |
|
AddedDate | date |
None. |
|
ChecklistDetails | Collection of ChecklistDetailsRequestModel |
Required |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{ "checklistId": 1, "title": "sample string 1", "description": "sample string 2", "productId": 1, "isActive": true, "addedBy": 4, "addedDate": "2025-07-17T04:25:04.7862925+00:00", "checklistDetails": [ { "taskType": 1, "taskName": "sample string 1", "taskDesc": "sample string 2", "locationID": 1, "assets": "sample string 3", "hoursestimated": 1.0, "multiChoiceList": [ { "choice": "sample string 1", "choiceValue": true, "typeId": 1, "laborTaskId": 1 }, { "choice": "sample string 1", "choiceValue": true, "typeId": 1, "laborTaskId": 1 } ], "multiChoice": "sample string 4" }, { "taskType": 1, "taskName": "sample string 1", "taskDesc": "sample string 2", "locationID": 1, "assets": "sample string 3", "hoursestimated": 1.0, "multiChoiceList": [ { "choice": "sample string 1", "choiceValue": true, "typeId": 1, "laborTaskId": 1 }, { "choice": "sample string 1", "choiceValue": true, "typeId": 1, "laborTaskId": 1 } ], "multiChoice": "sample string 4" } ] }
application/xml, text/xml
Sample:
<ChecklistRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"> <AddedBy>4</AddedBy> <AddedDate>2025-07-17T04:25:04.7862925+00:00</AddedDate> <ChecklistDetails> <ChecklistDetailsRequestModel> <Assets>sample string 3</Assets> <Hoursestimated>1</Hoursestimated> <LocationID>1</LocationID> <MultiChoice>sample string 4</MultiChoice> <MultiChoiceList xmlns:d4p1="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"> <d4p1:MultiChoiceVM> <d4p1:Choice>sample string 1</d4p1:Choice> <d4p1:ChoiceValue>true</d4p1:ChoiceValue> <d4p1:LaborTaskId>1</d4p1:LaborTaskId> <d4p1:TypeId>1</d4p1:TypeId> </d4p1:MultiChoiceVM> <d4p1:MultiChoiceVM> <d4p1:Choice>sample string 1</d4p1:Choice> <d4p1:ChoiceValue>true</d4p1:ChoiceValue> <d4p1:LaborTaskId>1</d4p1:LaborTaskId> <d4p1:TypeId>1</d4p1:TypeId> </d4p1:MultiChoiceVM> </MultiChoiceList> <TaskDesc>sample string 2</TaskDesc> <TaskName>sample string 1</TaskName> <TaskType>1</TaskType> </ChecklistDetailsRequestModel> <ChecklistDetailsRequestModel> <Assets>sample string 3</Assets> <Hoursestimated>1</Hoursestimated> <LocationID>1</LocationID> <MultiChoice>sample string 4</MultiChoice> <MultiChoiceList xmlns:d4p1="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"> <d4p1:MultiChoiceVM> <d4p1:Choice>sample string 1</d4p1:Choice> <d4p1:ChoiceValue>true</d4p1:ChoiceValue> <d4p1:LaborTaskId>1</d4p1:LaborTaskId> <d4p1:TypeId>1</d4p1:TypeId> </d4p1:MultiChoiceVM> <d4p1:MultiChoiceVM> <d4p1:Choice>sample string 1</d4p1:Choice> <d4p1:ChoiceValue>true</d4p1:ChoiceValue> <d4p1:LaborTaskId>1</d4p1:LaborTaskId> <d4p1:TypeId>1</d4p1:TypeId> </d4p1:MultiChoiceVM> </MultiChoiceList> <TaskDesc>sample string 2</TaskDesc> <TaskName>sample string 1</TaskName> <TaskType>1</TaskType> </ChecklistDetailsRequestModel> </ChecklistDetails> <ChecklistId>1</ChecklistId> <Description>sample string 2</Description> <IsActive>true</IsActive> <ProductId>1</ProductId> <Title>sample string 1</Title> </ChecklistRequestModel>
multipart/form-data
Sample:
<ChecklistRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"><AddedBy>4</AddedBy><AddedDate>2025-07-17T04:25:04.7862925+00:00</AddedDate><ChecklistDetails><ChecklistDetailsRequestModel><Assets>sample string 3</Assets><Hoursestimated>1</Hoursestimated><LocationID>1</LocationID><MultiChoice>sample string 4</MultiChoice><MultiChoiceList xmlns:d4p1="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><d4p1:MultiChoiceVM><d4p1:Choice>sample string 1</d4p1:Choice><d4p1:ChoiceValue>true</d4p1:ChoiceValue><d4p1:LaborTaskId>1</d4p1:LaborTaskId><d4p1:TypeId>1</d4p1:TypeId></d4p1:MultiChoiceVM><d4p1:MultiChoiceVM><d4p1:Choice>sample string 1</d4p1:Choice><d4p1:ChoiceValue>true</d4p1:ChoiceValue><d4p1:LaborTaskId>1</d4p1:LaborTaskId><d4p1:TypeId>1</d4p1:TypeId></d4p1:MultiChoiceVM></MultiChoiceList><TaskDesc>sample string 2</TaskDesc><TaskName>sample string 1</TaskName><TaskType>1</TaskType></ChecklistDetailsRequestModel><ChecklistDetailsRequestModel><Assets>sample string 3</Assets><Hoursestimated>1</Hoursestimated><LocationID>1</LocationID><MultiChoice>sample string 4</MultiChoice><MultiChoiceList xmlns:d4p1="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><d4p1:MultiChoiceVM><d4p1:Choice>sample string 1</d4p1:Choice><d4p1:ChoiceValue>true</d4p1:ChoiceValue><d4p1:LaborTaskId>1</d4p1:LaborTaskId><d4p1:TypeId>1</d4p1:TypeId></d4p1:MultiChoiceVM><d4p1:MultiChoiceVM><d4p1:Choice>sample string 1</d4p1:Choice><d4p1:ChoiceValue>true</d4p1:ChoiceValue><d4p1:LaborTaskId>1</d4p1:LaborTaskId><d4p1:TypeId>1</d4p1:TypeId></d4p1:MultiChoiceVM></MultiChoiceList><TaskDesc>sample string 2</TaskDesc><TaskName>sample string 1</TaskName><TaskType>1</TaskType></ChecklistDetailsRequestModel></ChecklistDetails><ChecklistId>1</ChecklistId><Description>sample string 2</Description><IsActive>true</IsActive><ProductId>1</ProductId><Title>sample string 1</Title></ChecklistRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommonResponseDataModelName | 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/ATMP.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/ATMP.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>