{
"id": 8,
"name": "Testando a API",
"fontStyle": "Arial",
"fontSize": 1,
"align": "left",
"orientation": "L",
"size": "A4",
"marginTop": 1,
"marginRight": 1,
"marginBottom": 1,
"marginLeft": 1,
"showHealthPlan": true,
"showRequester": true,
"showAssistant": true,
"showTechnician": true,
"showAnesthetist": false,
"showEquipment": true,
"showDiagnosis": true,
"hideExaminer": true,
"showPictureFrame": true,
"showSign": 0,
"header": {
"id": 1
},
"footer": {
"id": 2
},
"layoutImage": 15,
"amountImage": 0,
"fields": [
{
"template": {
"id": 8
},
"id": 18,
"title": "Field 1",
"order": 0,
"type": "Text",
"userCreated": {
"id": -1
},
"userDeleted": {
"id": -1
}
},
{
"template": {
"id": 8
},
"id": 19,
"title": "Field 2",
"order": 1,
"type": "Simple Text",
"userCreated": {
"id": -1
},
"userDeleted": {
"id": -1
}
},
{
"template": {
"id": 8
},
"id": 20,
"title": "Field 3",
"order": 2,
"type": "Check Box",
"userCreated": {
"id": -1
},
"userDeleted": {
"id": -1
}
}
],
"userCreated": {
"id": -1
},
"userChanged": {
"id": null
},
"userDeleted": {
"id": -1
},
"dateHourCreated": "2018-08-07T20:37:05.296Z",
"dateHourChanged": "2018-08-07T20:37:05.296Z"
}curl --location --request DELETE 'https://prod.your-api-server.com/api/v1/template' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 8,
"name": "Testando a API",
"fontStyle": "Arial",
"fontSize": 1,
"align": "left",
"orientation": "L",
"size": "A4",
"marginTop": 1,
"marginRight": 1,
"marginBottom": 1,
"marginLeft": 1,
"showHealthPlan": true,
"showRequester": true,
"showAssistant": true,
"showTechnician": true,
"showAnesthetist": false,
"showEquipment": true,
"showDiagnosis": true,
"hideExaminer": true,
"showPictureFrame": true,
"showSign": 0,
"header": {
"id": 1
},
"footer": {
"id": 2
},
"layoutImage": 15,
"amountImage": 0,
"fields": [
{
"template": {
"id": 8
},
"id": 18,
"title": "Field 1",
"order": 0,
"type": "Text",
"userCreated": {
"id": -1
},
"userDeleted": {
"id": -1
}
},
{
"template": {
"id": 8
},
"id": 19,
"title": "Field 2",
"order": 1,
"type": "Simple Text",
"userCreated": {
"id": -1
},
"userDeleted": {
"id": -1
}
},
{
"template": {
"id": 8
},
"id": 20,
"title": "Field 3",
"order": 2,
"type": "Check Box",
"userCreated": {
"id": -1
},
"userDeleted": {
"id": -1
}
}
],
"userCreated": {
"id": -1
},
"userChanged": {
"id": null
},
"userDeleted": {
"id": -1
},
"dateHourCreated": "2018-08-07T20:37:05.296Z",
"dateHourChanged": "2018-08-07T20:37:05.296Z"
}'{}