Name
RecordQuery Query the status of a customer record
Description
RecordQuery requests the status of the customer record associated with a given number. The following are the allowed fields in reqparams:
* dn The number to be queried.
ed The effective date of the record to be queried.
et The effective time of the record to be queried.
If ed and et are omitted, all versions of the customer record are requested. If ed is specified and et is omitted, all versions with dates equal to or greater than the given ed are returned. If ed and et are specified, all versions with dates and times equal to or greater than the given values are returned.
MGI Messages
RecordQuery sends the REQ-CRQ message. The SMS/800 MGI will only return, at most, 10 records for a single REQ-CRQ request. In cases where more than 10 records match the request, 8MS automatically takes care of requesting the additional records, generating additional REQ-CRQ requests as appropriate. The response to REQ-CRQ is RSP-CRQ. In cases where one or more additional RSP-CRQ messages are expected, the MORE field in the RSP-CRQ message will be set to Y.
Example
The following request parameters will query all customer records for 8005551212:
dn~8005551212