Animals Web Service
MethodBulkAnimalsRegister
Description
This method allows the user to create and register a number of CoreOne animals in bulk.
Request (BulkAnimalsRegister)

Below are the parameters to successfully create bulk CoreOne Animals. If any required parameter is omitted an error message will be displayed alerting the user.

Request Body Parameters

NameDescriptionData Type
token

This is a 40-character hexadecimal string.

This token should have been obtained at the commencement of a session using the Login (Method). It is required for all functional CoreOne web services.
xml:string
id

This is an internal CoreOne Herd id. This is the herd the user wishes to add the animals to.

These can be retrieved through using the HerdsIndex (Method).
xml:int
animalsThese are the input parameters necessary for a successful creation of bulk animals.ws_bulk_animals_c
reference_dateThis is the date in which the bulk registration took place.xml:date
Response (BulkAnimalsRegister_response)

This is the returned status message to tell the user the result of the method.

An error message will be displayed instead of the status message if any of the input parameters fail any validation rule. For example if the user's token is invalid or the record doesn't exist. It will alert the user on what parameter failed validation and the reason why.

Response Body Parameters

NameDescriptionData Type
statusIf the creation of bulk animals was successful a message "Animal successfully saved" will be returned. If the creation of an animal was not successful a message "Animal save failed" will be returned.xml:string
Remarks

See Also
All Operations Resource GroupAnimals Web Service

 

 


© 2014-2018 All Rights Reserved.

Send comments on this topic.