POST at this target:
https://joy.classapp.co/graphql?access_token=YOUR_TOKEN_HERE
Params | Description |
---|---|
id | The ID of an object |
dbId | Identifies the primary key from the database. |
subject | Subject from message |
content | Content from message |
pin | pin=1 |
public | public=1 |
moment | moment=1 |
forum | public forum=1 |
noReply | no reply=1 |
fwMessageId | message being forwarded |
isHtml | Content is in html |
labelId | label used to filter message |
dontNotify | Notifications of message |
sendAt | date and time to send the message |
type | Message type |
toEntityId | First recipient |
helpers | Helper JSON to re-render report and recipient fields |
status | The last operation of message draft |
status_by | User that perform operation in message draft |
entityId | Entity who sent the message |
userId | User who sent the message |
input | Message input content |
summary | Summary for the message |
label | Label used to filter the message |
userAuthorHasEntity | check if user author is linked to entity |
recipientsCount | Count entities who received the message, excluding the sender |
imagesCount | Count images attached to the message |
videosCount | Count videos attached to the message |
audiosCount | Count audios attached to the message |
filesCount | Count files attached to the message |
commitmentsCount | Count commitments attached to the message |
signaturesCount | Count signatures attached to the message |
surveysCount | Count surveys attached to the message |
chargesCount | @TODO DESCRIBE ME |
reportsCount | Count reports attached to the message |
formsCount | Count forms attached to the message |
entity | Entity author |
user | User author |
toEntity | First recipient entity |
created | An ISO-8601 encoded UTC date string of when record was created |
modified | An ISO-8601 encoded UTC date string of when record was updated |
deleted | An ISO-8601 encoded UTC date string of when record was deleted |
key | Random ID to differentiate from others |
selected | Helper field for clients |
highlighted | Helper field for clients |
expanded | Helper field for clients |
loaded | Helper field for clients |
loading | Helper field for clients |
Arguments | Type | Description |
---|---|---|
entityId | Not Null | The entity that send the message |
sendAt | String SCALAR | date and time to send the message |
type | MessageDraftType ENUM | Message type |
toEntityId | ID SCALAR | First recipient |
isHtml | Boolean SCALAR | Content is in html |
helpers | String SCALAR | Helper JSON to re-render report and recipient fields |
status | MessageDraftLogReason ENUM | The last operation of message draft |
status_by | ID SCALAR | User that perform operation in message draft |
subject | String SCALAR | Subject from message |
content | String SCALAR | Content from message |
pin | Boolean SCALAR | pin=1 |
public | Boolean SCALAR | public=1 |
moment | Boolean SCALAR | moment=1 |
forum | Boolean SCALAR | public forum=1 |
noReply | Boolean SCALAR | no reply=1 |
fwMessageId | Int SCALAR | message being forwarded |
labelId | Int SCALAR | label used to filter message |
dontNotify | Boolean SCALAR | Notifications of message |
surveys | LIST MessageSurveysInput | |
commitments | LIST MessageCommitmentsInput | |
charges | LIST MessageChargesInput | |
reports | LIST MessageReportsInput | |
medias | LIST MessageMediasInput | |
forms | LIST MessageFormInputFields | |
tags | LIST MessageTagsInput | |
recipients | MessageRecipientsInput INPUT_OBJECT | |
signatures | LIST MessageSignaturesInput | |
clientMutationId | String SCALAR |
Arguments | Type | Description |
---|---|---|
entityId | Not Null | The entity that send the message |
id | Not Null | The ID of an message draft object |
sendAt | String SCALAR | date and time to send the message |
type | MessageDraftType ENUM | Message type |
toEntityId | ID SCALAR | First recipient |
isHtml | Boolean SCALAR | Content is in html |
helpers | String SCALAR | Helper JSON to re-render report and recipient fields |
status | MessageDraftLogReason ENUM | The last operation of message draft |
status_by | ID SCALAR | User that perform operation in message draft |
subject | String SCALAR | Subject from message |
content | String SCALAR | Content from message |
pin | Boolean SCALAR | pin=1 |
public | Boolean SCALAR | public=1 |
moment | Boolean SCALAR | moment=1 |
forum | Boolean SCALAR | public forum=1 |
noReply | Boolean SCALAR | no reply=1 |
fwMessageId | Int SCALAR | message being forwarded |
labelId | Int SCALAR | label used to filter message |
dontNotify | Boolean SCALAR | Notifications of message |
surveys | LIST MessageSurveysInput | |
commitments | LIST MessageCommitmentsInput | |
charges | LIST MessageChargesInput | |
reports | LIST MessageReportsInput | |
medias | LIST MessageMediasInput | |
forms | LIST MessageFormInputFields | |
tags | LIST MessageTagsInput | |
recipients | MessageRecipientsInput INPUT_OBJECT | |
signatures | LIST MessageSignaturesInput | |
clientMutationId | String SCALAR |
Arguments | Type | Description |
---|---|---|
id | Not Null | The ID of an message draft object |
status | MessageDraftLogReason ENUM | Status of message draft log |
clientMutationId | String SCALAR |