Create Participant Code
π€β‘οΈπ Create Participant Code Request (Client β WCF REST Service)β
This message is sent by the Client to the WCF REST Service to Create a Participant Code in ODIN and WebAdmin.
The Service validates the request parameters and, upon successful creation, returns a response in XML format.
If the process fails, a failure response is returned.
π Tags and Fieldsβ
| Tag | Field Name | Reqβd | Data Type (Max) | Comment |
|---|---|---|---|---|
| 63 | Message Version | Y | String (10) | Fixed Value β FT1.0 |
| 64 | Message Type | Y | Integer | Fixed Value β 344 |
| 67 | Reserved PG Dealer Id | Y | String (15) | Reserved PG Dealer Id |
| 4 | Session Id | Y | String (100) | Must match session id received on logon response |
| 201 | User Id | Y | String (10) | New Web Retail User Id |
| 202 | Group Id | Y | String (10) | Group Id of the user |
| 245 | Participant Code | Y | JSON Array | Array of objects with fields:MarketsegId, ParticipantcodeExample: [{"MarketsegId":"1","Participantcode":"01494460IH"}] |
| 999 | Check Sum Value | Y | Integer | Checksum generated from the entire string. Must be the last tag. |
Format for Participant Code (Tag 245)β
[
{"MarketsegId":"1","Participantcode":"01494460IH"},
{"MarketsegId":"2","Participantcode":"016290806IL"},
{"MarketsegId":"4096","Participantcode":"BIMLADEVI001"}
]
Exampleβ
β String to be passed for generating checksumβ
63=FT1.0|64=344|67=RESERVEDPG|4=viAfdzLiRR9ry9MCQYcGV2VErez02lRld7numPhfI|201=NITWR158|202=HO|245=[{"MarketsegId":"1","Participantcode":"01494460IH"},{"MarketsegId":"2","Participantcode":"016290806IL"},{"MarketsegId":"4096","Participantcode":"BIMLADEVI001"}]|999=224
π‘π¨ Create Participant Code Response (WCF REST Service β Client)β
π Tags and Fieldsβ
| Tag | Field Name | Reqβd | Comment |
|---|---|---|---|
| 63 | Message Version | Y | Fixed Value β FT1.0 |
| 64 | Message Type | Y | Fixed Value β 345 |
| 18 | Response Code | Y | Response Code:0 β Failure1 β Success |
| 19 | Response Message | O | Response Message |
Examplesβ
β Success Caseβ
63=FT1.0|64=345|18=1|19=Participant Code created/modified successfully
β Failure Casesβ
63=FT1.0|64=345|18=0|19=Error occurred, kindly contact administrator
63=FT1.0|64=345|18=0|19=Unable to connect to the remote server