Query TSPID
The following is an example REST/JSON query TSPID request from the user:
POST /api/v2/tss-text-query-tspid HTTP/1.0
Content-Type: application/json
Content-Length: <num>
{
"id":"user",
"pwd":"password",
"tspid":"12345"
}
A response similar to the following is issued by TSS to the user on success:
// The HTTP header is omitted for brevity. The JSON portion follows:
{
"url":"/api/v2/tss-text-query-tspid", // positive confirmation
"tspid":"12345", // positive confirmation
"srName":"ACME Service Reg", // name of the Service Registrar
"contactName":"Jane Doe", // primary contact
"contactEmail":"contact@AcmeSR.com" // primary contact
}
See the Error section for failure responses, such as a tspid that is not present.
The following table describes the fields in the response.