Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Template Cadastro
- //Envio
- {
- "content":{
- "templateId":1383050
- },
- "updateProfile":true,
- "recipients":[
- {
- "email":"diego.cassola@br.acaonet.com",
- "id":"diego.cassola@br.acaonet.com",
- "profile":{
- "userAttrs":[
- {
- "firstName":"Julia"
- },
- {
- "APIVAR001":"https://goo.gl/yIYpzG"
- },
- {
- "APIVAR006":"Faça a sua lista de convidados com o Chá de Bebê Huggies. =D"
- }
- ]
- }
- }
- ]
- }
- //Resposta
- {
- "state": "accepted",
- "message": "Send email request queued successfully.",
- "request": {
- "id": "cff1fb6f-564b-4d58-a651-ff3cbb0c7ef1",
- "user": "kccintllao",
- "time": "2016-09-30T16:53:38.000Z",
- "uri": "https://api.test.yesmail.com/v2/emails/send"
- },
- "response": null,
- "id": "57ee98905a4b858d0b01b884",
- "events": [
- {
- "state": "accepted",
- "message": "Send email request queued successfully.",
- "time": "2016-09-30T16:53:36.917Z"
- }
- ],
- "lastUpdate": "2016-09-30T16:53:36.917Z"
- }
- //Get Ticket
- {
- "state": "failed",
- "message": "master id 1383050 message JavaScript Error: Internal Error: (Line 0) Cannot find the attribute: Generic1",
- "request": {
- "id": "cff1fb6f-564b-4d58-a651-ff3cbb0c7ef1",
- "user": "kccintllao",
- "time": "2016-09-30T16:53:38.000Z",
- "uri": "https://api.test.yesmail.com/v2/emails/send"
- },
- "events": [
- {
- "state": "accepted",
- "message": "Send email request queued successfully.",
- "time": "2016-09-30T16:53:36.917Z"
- },
- {
- "state": "failed",
- "message": "master id 1383050 message JavaScript Error: Internal Error: (Line 0) Cannot find the attribute: Generic1",
- "time": "2016-09-30T16:52:54.690Z"
- }
- ],
- "lastUpdate": "2016-09-30T16:52:54.690Z",
- "id": "57ee98905a4b858d0b01b884"
- }
- //Template Recuperar Senha
- //Envio
- {
- "content":{
- "templateId":1382990
- },
- "updateProfile":true,
- "recipients":[
- {
- "email":"diego.cassola@br.acaonet.com",
- "id":"diego.cassola@br.acaonet.com",
- "profile":{
- "userAttrs":[
- {
- "firstName":"Diego"
- },
- {
- "APIVAR011":"https://goo.gl/alaUQj"
- }
- ]
- }
- }
- ]
- }
- //Resposta
- {
- "state": "accepted",
- "message": "Send email request queued successfully.",
- "request": {
- "id": "ed3cb29d-4027-4207-b9b3-9885b32ebffc",
- "user": "kccintllao",
- "time": "2016-09-30T16:55:52.000Z",
- "uri": "https://api.test.yesmail.com/v2/emails/send"
- },
- "response": null,
- "id": "57ee99165a4b858d0b01b889",
- "events": [
- {
- "state": "accepted",
- "message": "Send email request queued successfully.",
- "time": "2016-09-30T16:55:50.067Z"
- }
- ],
- "lastUpdate": "2016-09-30T16:55:50.067Z"
- }
- //GEt Ticket
- {
- "state": "completed",
- "message": "Send email request completed.",
- "request": {
- "id": "ed3cb29d-4027-4207-b9b3-9885b32ebffc",
- "user": "kccintllao",
- "time": "2016-09-30T16:55:52.000Z",
- "uri": "https://api.test.yesmail.com/v2/emails/send"
- },
- "events": [
- {
- "state": "accepted",
- "message": "Send email request queued successfully.",
- "time": "2016-09-30T16:55:50.067Z"
- },
- {
- "state": "completed",
- "message": "Send email request completed.",
- "time": "2016-09-30T16:55:07.781Z"
- }
- ],
- "lastUpdate": "2016-09-30T16:55:07.781Z",
- "id": "57ee99165a4b858d0b01b889",
- "response": {
- "data": {
- "messageId": "889386802123",
- "sentTime": "2016-09-30T16:55:52.703Z"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement