- Home
- API reference
- API documentation (JSON/XML)
- Tasks
- Parking tasks
Sedo parking account create
Function
The SedoAccountCreate creates a Sedo parking account.
Description
Route: POST /parking/_sedo
{
"gender": "MALE",
"firstName": "Joe",
"lastName": "Sample",
"company": "ExampleGmbH",
"email": "customer@example.com",
"taxDetails": {
"dealerStatus": "PRIVATE"
},
"postalAddress": {
"street": "example street 55",
"postalCode": "93055",
"city": "City",
"country": "DE"
}
}{
"stid": "20221205-app1-4764",
"status": {
"code": "S700106",
"text": "The Sedo parking account was successfully created.",
"type": "SUCCESS"
},
"object": {
"type": "ParkingAccount",
"value": "1"
},
"data": [
{
"created": "2022-12-05T15:14:13.000+0100",
"updated": "2022-12-05T15:14:13.000+0100",
"owner": {
"context": 4,
"user": "customer"
},
"updater": {
"context": 4,
"user": "customer"
},
"type": "SEDO",
"login": "sedo12345",
"status": "PENDING"
}
]
}
Task code: 700106
Uses Sedo Parking Account object
<request>
<auth>
<user>customer</user>
<password>password</password>
<context>4</context>
</auth>
<task>
<code>700106</code>
<sedo_parking_account>
<gender>MALE</gender>
<first_name>John</first_name>
<last_name>Doe</last_name>
<company></company>
<email>customer@example.com</email>
<tax_details>
<dealer_status>PRIVATE</dealer_status>
<vat_id>DE123456</vat_id>
</tax_details>
<postal_address>
<street>example street 1</street>
<postal_code>12345</postal_code>
<city>example city</city>
<country>DE</country>
</postal_address>
</sedo_parking_account>
</task>
</request><response>
<result>
<data />
<status>
<code>S700106</code>
<text>The Sedo parking account was successfully created.</text>
<type>success</type>
<object>
<type>ParkingAccount</type>
<value>113</value>
</object>
</status>
</result>
<stid>20221202-app3-dev-21450</stid>
</response>