Creates a new horse policy record with detailed horse information.
cURL
curl --request POST \ --url https://staging.yasmina.ai/api/v1/horse/policies \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form name=Thunderbolt \ --form [email protected] \ --form 'owner_phone=+966512345678' \ --form date_of_birth=2018-05-20 \ --form sex=female \ --form color=Bay \ --form breed=other \ --form purchased=true \ --form did_participate=yes \ --form has_abortion=yes \ --form has_embryo_transfers=yes \ --form use=racing \ --form declaration=yes \ --form upload=@example-file
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Horse policy created successfully