Skip to content

Instantly share code, notes, and snippets.

@guilhermeslk
Last active August 7, 2017 17:57
Show Gist options
  • Save guilhermeslk/5d8e4ed895e135afbbc73d8d55adf632 to your computer and use it in GitHub Desktop.
Save guilhermeslk/5d8e4ed895e135afbbc73d8d55adf632 to your computer and use it in GitHub Desktop.
// POST /email
{
"address": ""
}
// POST /phone
{
"areaCode": 19,
"number": 99999999,
"extension": "123"
}
// POST /person
{
"name": "",
"function": "",
"department": "",
"phones": [ "http://..." ],
"email": [ "http://..." ]
}
// POST /education-institution
{
"institutionName": "Universidade Paulista",
"educationDegree": { "id": "" },
"course": "Zootecnia",
"authorizationCode": "",
"state": { "initials": "SP" } ,
"institutionType": "http://...",
"active": true,
"password": ""
}
@eoliveiramg
Copy link

Adicionar nesse cara o InstitutionType

// POST /institution-type
{
"id": "",
"description": "Municipal",
"acronym": "M"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment