The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/reply/CreateOrUpdateEmailDraft HTTP/1.1
Host: doapigw.baasbv.nl
Accept: application/json
Content-Type: application/json
Content-Length: length
{"__type":"IDB.API.DTO.Outlook.Operations.CreateOrUpdateEmailDraft, IDB.API.DTO","RegistrationProfileID":"00000000-0000-0000-0000-000000000000","Values":[{"__type":"IDB.API.DTO.Registrationprofile.RegistrationValue, IDB.API.DTO","Key":"00000000-0000-0000-0000-000000000000","Value":"String","ShadowValue":"String"}],"Processes":[{"__type":"IDB.API.DTO.Workflow.Process, IDB.API.DTO","ID":0,"Title":"String","Description":"String","Note":"String","Coordinator":"String","Urgent":false,"Transitions":[{"__type":"IDB.API.DTO.Workflow.Transition, IDB.API.DTO","ID":"00000000-0000-0000-0000-000000000000","Reason":"String","DelayDate":"0001-01-01T00:00:00.0000000","DelayReason":"String","UserIDs":[0],"GroupIDs":[0]}]}],"DocumentUploadId":"String","MessageQueueId":"String","ReplyEmailHtml":"String","PidTag":"String","ItemId":"String","EwsUrl":"String","Token":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"__type":"IDB.API.DTO.Outlook.CorporateIdentityMail, IDB.API.DTO","DocumentId":"00000000-0000-0000-0000-000000000000","EmailHtml":"String","IsRegistered":false,"DocumentNr":"String","Values":[{"__type":"IDB.API.DTO.Registrationprofile.RegistrationProfileFieldStateBase, IDB.API.DTO","DocumentFieldID":"00000000-0000-0000-0000-000000000000","Required":false,"Visible":false,"Readonly":false}],"RegistrationProfileID":"00000000-0000-0000-0000-000000000000","RegisterAutomatically":false}