PUT https://app.alaaqat.com/api/tickets/properties/{_id}
الحقل | مطلوب | النوع | الزصف |
---|---|---|---|
type | نعم | نص | Enums PropertiesTypes |
name | نعم | مصفوفة | خيارات اللغة (ar أو en) |
desc | لا | مصفوفة | خيارات اللغة (ar أو en) |
group_id | نعم | _id | _id لمجموعة خصائص حهة الاتصال |
enum | نعم اذا كان النوع اذا كان النوع single_select |
مصفوفة | EnumOption |
Accept: application/json
{
"type": "number",
"name": {
"en": "test number"
},
"group_id": "66900cad55aa925b2f051c0b"
}
الإستجابة تكون دائماً بصيغة 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"
}