Request to get the time of change of something
Request to get the time of change of something
POST
http://lk.mysmpp.ru/xml/check_change.php
Headers
Name
Type
Description
Content-type*
String
text/xml; charset=utf-8;
Request Body
Name
Type
Description
login.value*
String
Your login in the system
check.obgect*
String
Object type: database (base
), stop list (stop
)
token.value*
String
You can use a secret key instead of login and password. To obtain it, please contact your manager
password.value*
String
Your password in the system
check.id*
String
Unique object number
<?xml version="1.0" encoding="utf-8" ?>
<response>
<obgect time_update="2012-01-01 12:12:12" />
</response>
Deciphering parameters in query responses
Parameter
Data type
Description
obgect.time_update
Int
Time of last modification of the object
error
String
The error text can take the following values:
Incorrect XML document format
Incorrect login or password
POST data is missing
Example XML request
<?xml version="1.0" encoding="utf-8" ?>
<request>
<security>
<login value="login" />
<password value="password" />
</security>
<check obgect="base" id="1"/>
</request>
Last updated