Payload for POST /organisations.
Contains the details of the new organisation that is registered with the URN administration.
name | data type | constraints | description |
---|---|---|---|
login | string | required, regex: [-_a-zA-Z0-9]*, max size: 20, min size: 1 | Login id that is used by the new organisation to access their account. |
password | string | required, max size: 20, min size: 8 | Password that is used by the new organisation to access their account. |
name | string | required, max size: 200, min size: 1 | Name of the new organsation. |
string | required, regex: .+@.+, max size: 254, min size: 6 | Generic email address for contacting the new organisation. | |
address | Address | required | Postal address of the new organisation. |
comment | string | max size: 1000, min size: 0 | Human readable comments about the new organisation. |
primaryContactSurname | string | required, max size: 50, min size: 1 | Surname of the person who is the primary contact for the URN-Service at the new organisation. |
primaryContactForename | string | required, max size: 50, min size: 1 | Forename of the person who is the primary contact for the URN-Service at the new organisation. |
primaryContactEmail | string | required, regex: .+@.+, max size: 200, min size: 6 | Personal email address of the person who is the primary contact for the URN-Service at the new organisation. |
primaryContactPhone | string | required, regex: [-+() 0-9]*, max size: 50, min size: 1 | Phone number of the person who is the primary contact for the URN-Service at the new organisation. |
primaryContactFunction | string | max size: 100, min size: 0 | Describes the role of the primary contact in the new organisation. |
primaryContactComment | string | max size: 1000, min size: 0 | Human readable comments about the primary contact. |
Example
{ "login" : "dnb", "password" : "xasg!mk23cfw3e", "name" : "Deutsche Nationalbibliothek", "email" : "urn-group@example.org", "address" : { "street" : "Adickesallee 1", "postcode" : "60322", "city" : "Frankfurt am Main", "country" : "Germany" }, "comment" : "This organisation is used for testing purposes only", "primaryContactSurname" : "Cantor", "primaryContactForename" : "Georg", "primaryContactEmail" : "g.cantor@example.org", "primaryContactPhone" : "+49 69 1525-0", "primaryContactFunction" : "Team Lead URN-Services", "primaryContactComment" : "Only in the office until for 1pm" }