- Home
- API reference
- API documentation (JSON/XML)
- Tasks
- Parking tasks
Parking account info
Function
The ParkingAccountInfo task inquires the data of a parking account.
Description
Route: GET /parking/account/{id}
There is no need to send a body.
{
}{
"status" : {
"code" : "S700104",
"text" : "The parking account data was successfully inquired.",
"type" : "SUCCESS"
},
"object" : {
"type" : "ParkingAccount",
"value" : "1"
},
"data" : [ {
"created" : "2022-05-27T11:44:55.000+0200",
"updated" : "2022-06-01T14:47:03.000+0200",
"owner" : {
"context" :1,
"user" : "admin"
},
"updater" : {
"context" : 1,
"user" : "admin"
},
"type" : "SEDO",
"login" : "sedo1",
"apiKey" : "1A2B3C4D",
"status" : "ACTIVE",
"lastSynchronized" : "2022-05-27T11:44:51.000+0200"
} ]
}
Task code: 700104
Uses Parking Account object
<request>
<auth>
<user>admin</user>
<password>password</password>
<context>1</context>
</auth>
<task>
<code>700104</code>
<parking_account>
<id>1</id>
</parking_account>
</task>
</request><response>
<result>
<data>
<parking_account>
<type>SEDO</type>
<login>sedo1</login>
<api_key>1A2B3C4D</api_key>
<status>ACTIVE</status>
<last_synchronized>2022-05-27 11:44:51</last_synchronized>
<owner>
<user>admin</user>
<context>1</context>
</owner>
<updater>
<user>admin</user>
<context>1</context>
</updater>
<id>1</id>
<created>2022-05-27 11:44:55</created>
<updated>2022-10-18 15:24:23</updated>
</parking_account>
</data>
<status>
<code>S700104</code>
<text>The parking account data was successfully inquired.</text>
<type>success</type>
<object>
<type>ParkingAccount</type>
<value>1</value>
</object>
</status>
</result>
<stid>20221102-test-3</stid>
</response>