Author
| Field | Type | Required | Description |
|---|---|---|---|
firstName | String | mandatory | |
lastName | String | mandatory | |
glnNumber | String | optional | Contain 13 digits like 0000000000000 |
rccNumber | String | mandatory | An uppercase char followed by 6 digits like A000001 |
address | Address | mandatory | The address must be in Switzerland |
phone | String | optional | With format +41000000000 |
Exemple
Required fields only
{
"firstName": "Martin",
"lastName": "BRON",
"rccNumber": "A000001",
"address": {
"street": "Rue du centre 18",
"zip": "1000",
"city": "Lausanne"
}
}
All fields
{
"firstName": "Martin",
"lastName": "BRON",
"glnNumber": "0000000000000",
"rccNumber": "A000001",
"address": {
"street": "Rue du centre 18",
"zip": "1000",
"city": "Lausanne"
},
"phone": "+41794004000"
}