Skip to main content

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​

TagField NameReq’dData Type (Max)Comment
63Message VersionYString (10)Fixed Value – FT1.0
64Message TypeYIntegerFixed Value – 344
67Reserved PG Dealer IdYString (15)Reserved PG Dealer Id
4Session IdYString (100)Must match session id received on logon response
201User IdYString (10)New Web Retail User Id
202Group IdYString (10)Group Id of the user
245Participant CodeYJSON ArrayArray of objects with fields:
MarketsegId, Participantcode

Example:
[{"MarketsegId":"1","Participantcode":"01494460IH"}]
999Check Sum ValueYIntegerChecksum 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​

TagField NameReq’dComment
63Message VersionYFixed Value – FT1.0
64Message TypeYFixed Value – 345
18Response CodeYResponse Code:
0 – Failure
1 – Success
19Response MessageOResponse 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