Get Pending TFN
The following is an example REST/JSON get-pending request from the user:
POST /api/v2/tss-text-get-pending-tfn HTTP/1.0
Content-Type: application/json
Content-Length: <num>
{
"id":"user",
"pwd":"password",
"ror":"RespOrgID" // issue this post again for each ROR desired
}
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-get-pending-tfn", // positive confirmation
"pendingList":
[ // start of the list
{ // start of 1st entry
"tfn":"8007001212",
"date":"04/21/2015 08:03:56 GMT", // GMT, the only timezone
"sr":"ServiceRegistrarName", // Owner SR
"businessName":"Subscriber Business Name",
"contactName":"Subscriber Contact Name", // A person
"contactPhone":"Subscriber Contact Phone",
"contactEmail":"Subscriber Contact Email",
"tspid":"12345" // Owner SR ID
} // end of 1st entry
// The above is a single entry in the pendingList. More entries
// may be present, each in a comma-separated curly brace stanza.
] // end of the pendingList
}