Created
May 5, 2016 17:47
-
-
Save visitek/eea7c64dcdc3f585176a878c61371abf to your computer and use it in GitHub Desktop.
REST v0.2 - Transaction with reference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"module": "Admin_Index", | |
"section": "Rest", | |
"action": "transaction", | |
"data": { | |
"parts": { | |
"services": [ | |
{ | |
"module": "Ticket", | |
"section": "Ticket", | |
"action": "create", | |
"data": { | |
"parts": { | |
"ticket": { | |
"name": "Test complex ticket transactions", | |
"type": "task", | |
"id_ticket_project": 1, | |
"id_ticket_priority": 1 | |
} | |
} | |
} | |
}, | |
{ | |
"module": "Ticket", | |
"section": "TicketSolver", | |
"action": "create", | |
"data": { | |
"parts": { | |
"ticket_solver": { | |
"id_ticket": "[0:data:id]", | |
"id_ticket_person": 1, | |
"id_ticket_status": 1 | |
} | |
} | |
} | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment