Skip to content

Instantly share code, notes, and snippets.

@visitek
Created May 5, 2016 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save visitek/eea7c64dcdc3f585176a878c61371abf to your computer and use it in GitHub Desktop.
Save visitek/eea7c64dcdc3f585176a878c61371abf to your computer and use it in GitHub Desktop.
REST v0.2 - Transaction with reference
{
"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