The Cprgen request provides a means to request CPR
generation via the 8MS API.
The following are the allowed fields in reqparams:
| * | cprdata | The blob of text that defines the routing to be generated. Details of this format are described in the CPRGen page of the User Guide. |
| notes | Optional text describing the request. |
For example, the following might be returned from a Cprgen request:
<API8MS> <reqid>OA03743771</reqid> <message> <routeid>lt;/routeid> <termrpt>COMPLD</termrpt> <errorcd>0</errorcd> <msgparams> succeeded=1 failed=0 activate=1 </msgparams> </message> <message> <routeid>RXU</routeid> <termrpt>DENIED</termrpt> <errorcd>1</errorcd> <msgparams> ID=ART21000 RO=ART01 NUM=8667736580 ED=NOW ET= CNT=04 ERR=1006 VERR=IEC:0123 ERR=1006 VERR=IEC:0124 ERR=1005 VERR=IAC:0123 ERR=1005 VERR=IAC:0124 </msgparams> </message> </API8MS>
reqparams=cprdata~
-START NUM-
-START HDR-
Type:6DIGIT
Target#:8662998932
Cprname:BSO Test
Activate:Y
Effdate:11/11/02 10:00A
-END HDR-
-START CPR-
C:222:609332,609333,609334,732456,732649,732655,732889,908233,
908434,908883,908924,908994
C:444:201338,201336,201998,605552,701898,701899,904332
C:555:212
C:110/9085550123:732445,732988
B:OBA:908312,908322
O:555
-END CPR-
-END NUM-