- Start
- API-Referenz
- API-Dokumentation (XML/ JSON)
- Auftragstypen
- Parking-Auftragstypen
Sedo Parking Account Create
Funktion
Der Auftragstyp SedoAccountCreate legt einen Sedo-Account an.
Beschreibung
Route: POST /parking/_sedo
{
"gender": "MALE",
"firstName": "John",
"lastName": "Doe",
"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": "Der Sedo Parking-Account wurde erfolgreich erstellt.",
"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"
}
]
}
Auftragstyp-Code: 700106
Verwendet Objekt Sedo Parking Account
<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>example GmbH</company>
<email>customer@example.com</email>
<tax_details>
<dealer_status>PRIVATE</dealer_status>
<vat_id>DE123456</vat_id>
</tax_details>
<postal_address>
<street>ExampleStreet</street>
<postal_code>12345</postal_code>
<city>ExampleCity</city>
<country>DE</country>
</postal_address>
</sedo_parking_account>
</task>
</request><response>
<result>
<data />
<status>
<code>S700106</code>
<text>Der Sedo Parking-Account wurde erfolgreich erstellt.</text>
<type>success</type>
<object>
<type>ParkingAccount</type>
<value>113</value>
</object>
</status>
</result>
<stid>20221202-app3-dev-21450</stid>
</response>