Toggle navigation
Client Portfolio API
Documentation
Login
EN
LV
RU
EN
login
logout
get_lists
get_objects
get_object
add_list
update_list
delete_list
add_object
update_object
delete_object
get_available_services
add_list_monitoring
update_list_monitoring
get_list_monitoring
get_monitoring_sessions
get_session_events
Function documentation: get_objects
×
These are samples of function request and answer with predefined values. In order to fulfill a request with real values, please, get the authorization tools
here
.
Function returns the chosen list and its objects.
Field name
Value
Description
Type
signature
SSL signature in base64 encoding
string
sid
Session key
string
list_id
List identifier
int
start
The number of records to skip before returning anything
int
rows
Number of entries to be returned
int
Confirm
Request
Answer
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:ApiControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:get_objects> <signature xsi:type="xsd:string">Xvbela3qXWJVrqaRIYvT7d+btHHf1UV8Ci7E7f1Mw1rn2iR8SOKLe3zMNiWu9WmUqXs+kCJeN1iil5XzIiPXNk6FQqKgjvItFwYcMf/g/1pNvF3skY/WXobnBAzVU9Z2Cy/k+8atckRvG9id08ZHF4dFCb8qv5DlZ18cLg3/nHLMTdLIW2v1hMfTfxXuk0VPQ0XFc8MRcGT8Wx5V54dhrqMR1ZXykFRgkX7RDROR1ZUMUAMB/KlXOH9LN45+D0VTfrBKkIe+cvaposKVMXy9saeXyr5k0NpEPV4LJH1r2Y+5LpPRQuQliFnaRJ2M3KdlTeP7gnm6Pl/45HyACoZ3Gw==</signature> <sid xsi:type="xsd:string">b38db9621d20a843bfc43d45d39e340b</sid> <list_id xsi:type="xsd:int">6750</list_id> </ns1:get_objects> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:ApiControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:get_objectsResponse> <return xsi:type="ns1:ListResponse"> <list xsi:type="ns1:ResponseList"> <id xsi:type="xsd:int">6750</id> <name xsi:type="xsd:string">Lursoft</name> <type xsi:type="xsd:string">PERSONS</type> <description xsi:type="xsd:string">Monitor</description> <monitoring_id xsi:type="xsd:int">5292</monitoring_id> <object_count xsi:type="xsd:int">1</object_count> <objects SOAP-ENC:arrayType="ns1:ResponseObject[1]" xsi:type="ns1:ResponseObjectArray"> <item xsi:type="ns1:ResponseObject"> <id xsi:type="xsd:int">2209128</id> <code xsi:type="xsd:string">40003053936</code> <virtual_id xsi:type="xsd:string">000305393</virtual_id> <name xsi:type="xsd:string">SIA "LURSOFT"</name> <status xsi:type="xsd:string">ACTIVE</status> <created xsi:type="xsd:string">2015-02-24 11:03:47</created> <updated xsi:type="xsd:string">2015-02-24 11:03:47</updated> <address xsi:type="xsd:string">Rīga, Matīsa iela 8</address> </item> </objects> <monitored_object_count xsi:type="xsd:int">1</monitored_object_count> <users SOAP-ENC:arrayType="ns1:ResponseRole[1]" xsi:type="ns1:ResponseRoleArray"> <item xsi:type="ns1:ResponseRole"> <id xsi:type="xsd:int">5682</id> <name xsi:type="xsd:string">Bez uzņēmuma (Parasts Lietotājs)</name> <rights xsi:type="xsd:string">OWNER</rights> </item> </users> </list> <success xsi:type="xsd:boolean">true</success> <message xsi:type="xsd:string">OK</message> </return> </ns1:get_objectsResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>