Links

Request to get the time of change of something

post
http://lk.mysmpp.ru/xml/check_change.php
Request to get the time of change of something
Parameters
Header
Content-type*
String
text/xml; charset=utf-8;
Body
login.value*
String
Your login in the system
password.value*
String
Your password in the system
token.value*
String
You can use a secret key instead of login and password. To obtain it, please contact your manager
check.obgect*
String
Object type: database (base), stop list (stop)
check.id*
Unique object number
Responses
200: OK
If a valid XML document is received
400: Bad Request
If an error occurs in the sent XML document

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 modified 5mo ago