POST api/Workorder/Mail
Transmet le bon de travail par courrier électronique.
Informations sur la requête
Paramètres dans l'URI
Aucun
Paramètres du corps (body)
WorkorderMailMessageName | Description | Type | Informations additionnelles |
---|---|---|---|
WorkorderId | integer |
Aucune |
|
IsClosed | boolean |
Aucune |
|
AttachJobDocuments | boolean |
Aucune |
|
AttachWorkorder | boolean |
Aucune |
|
Body | string |
Aucune |
|
IsBodyHtml | boolean |
Aucune |
|
Subject | string |
Aucune |
|
To | Collection of Object |
Aucune |
|
Cc | Collection of Object |
Aucune |
|
Bcc | Collection of Object |
Aucune |
|
Priority | MailPriority |
Aucune |
|
Attachments | Collection of MailAttachment |
Aucune |
Formats de la requête
application/json, text/json
Sample:
{ "WorkorderId": 1, "IsClosed": true, "AttachJobDocuments": true, "AttachWorkorder": true, "Body": "sample string 5", "IsBodyHtml": true, "Subject": "sample string 7", "Priority": 0, "Attachments": [ { "Id": 2, "Filename": "sample string 3", "ContentType": "sample string 4", "DateTime": "2024-11-21T04:38:49", "Size": 1, "Content": "QEA=" }, { "Id": 2, "Filename": "sample string 3", "ContentType": "sample string 4", "DateTime": "2024-11-21T04:38:49", "Size": 1, "Content": "QEA=" } ] }
application/x-www-form-urlencoded
Sample:
Sample not available.
Informations sur la réponse
Description
Aucun