curl https://dev.api.radarbov.app/api/gtas \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"gta": {
"destination_establishment": {
"responsible_user": {
"id": "00000000-0000-0000-0000-000000000000",
"str_document": "str_document",
"str_name": "str_name"
},
"str_code": "str_code",
"str_county_name": "str_county_name",
"str_ibge_code": "str_ibge_code",
"str_name": "str_name",
"str_type": "str_type",
"str_uf": "str_uf"
},
"gta_data": {
"int_gta_animal_quantity": 0,
"int_gta_animal_quantity_category": {
"age_13_to_24_months_f": 0,
"age_13_to_24_months_m": 0,
"age_25_to_36_months_f": 0,
"age_25_to_36_months_m": 0,
"age_above_36_months_f": 0,
"age_above_36_months_m": 0,
"age_up_to_12_months_f": 0,
"age_up_to_12_months_m": 0,
"id": "00000000-0000-0000-0000-000000000000",
"total_f": 0,
"total_m": 0
},
"issuance": {
"id": "00000000-0000-0000-0000-000000000000",
"str_phone": "str_phone",
"str_place": "str_place",
"ts_issuance": "ts_issuance",
"ts_validity": "ts_validity"
},
"issuer_identification": {
"id": "00000000-0000-0000-0000-000000000000",
"str_document": "str_document",
"str_document_type": "str_document_type",
"str_name": "str_name"
},
"str_gta_bar_code": "str_gta_bar_code",
"str_gta_code": "str_gta_code",
"str_gta_series": "str_gta_series",
"str_gta_uf": "str_gta_uf",
"str_issued_by": "str_issued_by",
"str_notes": "str_notes",
"str_purpose": "str_purpose",
"str_species": "str_species",
"str_status": "str_status",
"str_transport_method": "str_transport_method",
"unit": {
"id": "00000000-0000-0000-0000-000000000000",
"str_county_name": "str_county_name",
"str_email": "str_email",
"str_name": "str_name",
"str_phone": "str_phone"
}
},
"source_establishment": {
"responsible_user": {
"id": "00000000-0000-0000-0000-000000000000",
"str_document": "str_document",
"str_name": "str_name"
},
"str_code": "str_code",
"str_county_name": "str_county_name",
"str_ibge_code": "str_ibge_code",
"str_name": "str_name",
"str_type": "str_type",
"str_uf": "str_uf"
}
},
"user_id": "00000000-0000-0000-0000-000000000000"
}'