GET api/v1/templates/updated-since/{date}-{hours}-{minutes}?isShallow={isShallow}
Get a list of Templates updated since a date and time. Example date and time: yyyy-MM-dd-HH-mm.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| date |
Date part of datetime object. Must be of the form yyyy-MM-dd and provided in the uri. |
date |
Required |
| hours |
Hours part of the datetime object. |
integer |
Required |
| minutes |
Minutes part of the datetime object. |
integer |
Required |
| isShallow | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
TemplatesUpdatedSinceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| UpdatedTemplates | Collection of TemplateDto |
None. |
|
| DeletedTemplateIds | Collection of integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"updatedTemplates": [
{
"id": 1,
"fileName": "sample string 2",
"binaryData": "QEA=",
"timestamp": "2025-12-08T10:18:40.8769369+01:00",
"lastUpdated": "2025-12-08T10:18:40.8769369+01:00",
"filePath": "sample string 4"
},
{
"id": 1,
"fileName": "sample string 2",
"binaryData": "QEA=",
"timestamp": "2025-12-08T10:18:40.8769369+01:00",
"lastUpdated": "2025-12-08T10:18:40.8769369+01:00",
"filePath": "sample string 4"
}
],
"deletedTemplateIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<TemplatesUpdatedSinceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Workpilot.ServiceLayer.Models">
<DeletedTemplateIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</DeletedTemplateIds>
<UpdatedTemplates>
<TemplateDto>
<BinaryData>QEA=</BinaryData>
<FileName>sample string 2</FileName>
<FilePath>sample string 4</FilePath>
<Id>1</Id>
<LastUpdated>2025-12-08T10:18:40.8769369+01:00</LastUpdated>
<Timestamp>2025-12-08T10:18:40.8769369+01:00</Timestamp>
</TemplateDto>
<TemplateDto>
<BinaryData>QEA=</BinaryData>
<FileName>sample string 2</FileName>
<FilePath>sample string 4</FilePath>
<Id>1</Id>
<LastUpdated>2025-12-08T10:18:40.8769369+01:00</LastUpdated>
<Timestamp>2025-12-08T10:18:40.8769369+01:00</Timestamp>
</TemplateDto>
</UpdatedTemplates>
</TemplatesUpdatedSinceDto>