POST
/api/v1/buses
cURL (application/json)
curl \
--request POST 'http://api.example.com/api/v1/buses' \
--header "Content-Type: application/json" \
--data '{"tripId":42,"studentIds":[42],"governorateIds":[42],"companyIds":[42],"rollCallIds":[42]}'
curl \
--request POST 'http://api.example.com/api/v1/buses' \
--header "Content-Type: text/json"
curl \
--request POST 'http://api.example.com/api/v1/buses' \
--header "Content-Type: application/*+json"
Request examples
{
"tripId": 42,
"studentIds": [
42
],
"governorateIds": [
42
],
"companyIds": [
42
],
"rollCallIds": [
42
]
}
Request examples
{
"tripId": 42,
"studentIds": [
42
],
"governorateIds": [
42
],
"companyIds": [
42
],
"rollCallIds": [
42
]
}
Request examples
{
"tripId": 42,
"studentIds": [
42
],
"governorateIds": [
42
],
"companyIds": [
42
],
"rollCallIds": [
42
]
}