- Home
- API reference
- API documentation (JSON/XML)
- Tasks
- Parking tasks
Parking domain info
Function
The ParkingDomainInfo task inquires the data of a parking domain.
Description
Route: GET /parking/account/1234/domain/example.com
There is no need to send a body.
{
}{
"status" : {
"code" : "S700104",
"text" : "The parking domain data was successfully inquired.",
"type" : "SUCCESS"
},
"object" : {
"type" : "ParkingAccount",
"value" : "example.com"
},
"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"
},
"name" : "example.com",
"currency" : "EUR",
"fixedPrice" : true,
"forSale" : true,
"keywords" : [ "hello", "world" ],
"price" : 2.0,
"minPrice" : 2.0,
"externalReference" : "12345",
"lastSynchronized" : "2022-05-27T13:06:24.000+0200" } ]
}
Task code: 700204
Uses Parking Domain object
<request>
<auth>
<user>customer</user>
<context>4</context>
<password>password</password>
</auth>
<task>
<code>700204</code>
<parking_domain>
<name>example.com</name>
</parking_domain>
</task>
</request><response>
<result>
<data>
<parking_domain>
<name>example.com</name>
<currency>EUR</currency>
<fixed_price>1</fixed_price>
<for_sale>1</for_sale>
<keywords>hello</keywords>
<keywords>world</keywords>
<price>2.0</price>
<min_price>2.0</min_price>
<external_reference>12345</external_reference>
<last_synchronized>2022-05-27 13:06:24</last_synchronized>
<owner>
<user>customer</user>
</owner>
<updater>
<user>customer</user>
</updater>
<id>13</id>
<created>2022-05-27 13:06:30</created>
<updated>2022-10-18 14:45:31</updated>
</parking_domain>
</data>
<status>
<code>S700204</code>
<text>The parking domain data was successfully inquired.</text>
<type>success</type>
<object>
<type>ParkingDomain</type>
<value>example.com</value>
</object>
</status>
</result>
<stid>20221202-app3-dev-21853</stid>
</response>