agency-board

POST /v1/agency/boards/{boardId}/cards/{cardId}/questions

Ask the client a question about this card.

כל נקודות הקצה מסוג agency-board

אימות

שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

curl -X POST https://api.zinndigital.com/v1/agency/boards/{boardId}/cards/{cardId}/questions \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "body": <string> }'

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API

פרטים

⛔⛔ **Asking a question SHARES the card**, and its column, in the same transaction — explicitly, and written to the board's activity feed so the agency can see it happened. A question the client is expected to answer, on a card they cannot open, is a state no screen can render: the client would be emailed a link to nothing. Notifies the **client** organisation (`agency_board.question_asked`).

פרמטרים

שםסוגנדרשמה זה
boardId (path)UuidכןProject board ID (UUIDv7).
cardId (path)UuidכןBoard card ID (UUIDv7).

גוף הבקשה

שםסוגנדרשמה זה
bodystringכן

תשובה

שםסוגנדרשמה זה
idUuidכןUUIDv7 identifier — sortable by creation time (docs/02 §8).
card_idUuidכןUUIDv7 identifier — sortable by creation time (docs/02 §8).
bodystringכן
statusstring<open, answered, cancelled>כן
answer_bodystringלא
answered_atstringלא
created_atstringכן
asked_byAgencyBoardActorלא
answered_byAgencyBoardActorלא

שגיאות שנקודה קצה זו עשויה להחזיר

401 · 403 · 404 · 422