curl --location --request POST 'https://app.hustro.com/api/v2/project//inspectionTemplate//checkListItem' \
--header 'hustro-client: web' \
--header 'hustro-client-version: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"index": 0,
"summary": "First item summary",
"norm": {
"description": "Item norm description"
}
},
{
"index": 1,
"summary": "Second item summary",
"norm": {
"description": "Item norm description"
}
},
{
"index": 2,
"summary": "Third item summary",
"norm": {
"description": "Item norm description"
}
}
]'[
{
"norm": {
"documents": [
{
"data": {
"do uzupelnienia": "Do uzupełnienia, analogicznie jak dotychczas"
},
"deleted": true,
"_id": "5f479169f7ef7fe33b3cca36",
"createdAt": "2020-12-01T11:32:01+01:00",
"createdBy": "5f479169f7ef7fe33b3cca36",
"modifiedAt": "2020-12-01T11:32:01+01:00",
"modifiedBy": "5f479169f7ef7fe33b3cca36",
"title": "string",
"description": "string",
"fileName": "4.jpg",
"fileType": "image/jpeg"
}
],
"description": "string"
},
"deleted": true,
"_id": "5f479169f7ef7fe33b3cca36",
"createdAt": "2020-12-01T11:32:01+01:00",
"createdBy": "5f479169f7ef7fe33b3cca36",
"modifiedAt": "2020-12-01T11:32:01+01:00",
"modifiedBy": "5f479169f7ef7fe33b3cca36"
}
]