URL | GET {{basepath}}/contact/:id |
---|---|
Category | REPP-Contact |
Retrieves a contact's info
Expects a ContactInfoRequest object.
Returns a ContactInfoResponse object.
:id | MET_1k7060k6491872ecc51f |
---|
GET {{basepath}}/contact/:id
status | new | The status to look for : available,unavailable,new,delete |
---|---|---|
start | 0 | Where to start from |
limit | 10 | How many to retrieve min 1 max 50 |
domainname | asdfghjkl.io | The domainname to look for |
:id | MET_1k7060d648828c9ba3fa |
---|
200 OK
{
"responseId": "mapi1_f9e9cd8204e201c3392ad880d9b71c7771886648",
"status": "ok",
"message": "Command completed successfully",
"contact": {
"id": "MET_1k7060d648828c9ba3fa",
"roid": "26s-ralcont",
"status": [
"ok"
],
"postalInfo": {
"name": "Test User",
"org": "Metaregistrar",
"addr": {
"street": [
"Noothoven van Goorstraat 11E"
],
"city": "Gouda",
"sp": "Zuid holland",
"pc": "2806RA",
"cc": "NL"
}
},
"voice": "+31.12345678",
"fax": "",
"email": "john@metaregistrar.com",
"clID": "metaregistrar",
"crID": "metaregistrar",
"crDate": "2023-06-13T08:28:57+00:00",
"upID": "metaregistrar",
"upDate": "2023-06-13T08:28:57+00:00",
"property": []
}
}
GET {{basepath}}/contact/:id
status | new | The status to look for : available,unavailable,new,delete |
---|---|---|
start | 0 | Where to start from |
limit | 10 | How many to retrieve min 1 max 50 |
domainname | asdfghjkl.io | The domainname to look for |
:id | MET_1k7060d6488298550d79 |
---|
404 Not Found
{
"responseId": "mapi1_d3ac8b0f1aec6945fc34cf113b118557cb340848",
"status": "error",
"errorCode": "epp-2303",
"errorMessage": "Object does not exist; The contact MET_1k7060d6488298550d79 does not exist"
}