Attachments Web Service
MethodAttachmentsIndexFor
Description
This method provides an array of CoreOne Attachments for a specified entity.
Request (AttachmentsIndexFor)

Below are the search criteria that can be used to specify which Attachments will be returned. If no search criteria is provided all Attachments are returned.

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
search

This is a space-delimited list of search terms which will be used to filter your search results. If multiple search terms are supplied the search is additive in nature. It is not case sensitive. If omitted, the search defaults to an empty string.

xml:string
page

Results from this method are paginated; this parameter specifies the page number you wish returned. If omitted, the default page number is 1.

xml:int
entity_typeThis is the type of entity the Lims Specimen is associated with. For example 0- Premises, 1- Herd etc...xml:int
entity_id

This is an internal CoreOne id used to uniquely identify the specified record.

These can be obtained through using the respective entity_type Index (Methods)
xml:int
Response (AttachmentsIndexFor_response)

This will return a list of CoreOne Attachments along with full details of each Attachment's details for the specified entity.

Response Body Parameters

NameDescriptionData Type
valueThis is an array which shows the full details for each CoreOne Attachment returned.ws_attachment
Remarks

See Also
All Operations Resource GroupAttachments Web Service

 

 


© 2014-2018 All Rights Reserved.

Send comments on this topic.