PUT https://app.alaaqat.com/api/tickets/properties/{_id}
_id it is the ID for Property
field | required | type | description |
---|---|---|---|
type | yes | string | Enums PropertiesTypes |
name | yes | array | Language options (ar or en) |
desc | no | array | Language options (ar or en) |
group_id | yes | _id | ID for deal property group |
enum | yes if type single_select |
array | EnumOption |
Accept: application/json
{
"type": "number",
"name": {
"en": "test number"
},
"group_id": "66900cad55aa925b2f051c0b"
}
The response is always in the format of Property
.
{
"data": {
"_id": "669885725b6b9ecd2e0aa1fe",
"name": {
"en": "test number"
},
"group_id": "66900cad55aa925b2f051c0b",
"type": "number",
"internal_name": "internal_name",
"account_id": 1,
"made_by": 1,
"updated_at": "2024-07-18T03:17:35.480000Z",
"created_at": "2024-07-18T03:01:06.188000Z",
"account": {
"id": 1,
"name": "test",
"created_at": "2024-07-11T16:45:07.000000Z",
"updated_at": "2024-07-11T16:45:07.000000Z",
"industry": "Accounting",
"logo": "https://ui-avatars.com/api/?name=test",
"address": null,
"timeZone": null,
"calendar": null,
"hour12": null,
"locale": null,
"currency": null
},
"user": null,
"group": {
"_id": "66900cad55aa925b2f051c0b",
"internal_name": "ticket_information",
"name": {
"en": "ticket's Information",
"ar": "معلومات التذكرة"
},
"desc": [],
"account_id": null,
"made_by": null,
"updated_at": "2024-07-11T16:47:41.632000Z",
"created_at": "2024-07-11T16:47:41.632000Z"
}
},
"message": "Entity was modified Successfully"
}