Professional Documents
Culture Documents
JAN, 2020
pg. 1
BIS – State Scheme Integration
pg. 2
BIS – State Scheme Integration
Overview
The purpose of this document is to provide an understanding of the State RSBY/Ration Card Beneficiary
database data exchange to BIS Application on regular basis.
Objective
To share the individual Beneficiary Family data from State RSBY/Ration Card Beneficiary database, data
format has been defined.
10. family_id* String Family identifier eg. Ration Card , MSBY card number
11. family_mem_guid_id* String Family member unique identifier across different family or
within a State. Incase family_mem_id is unique across
state then value of family_mem_id need to be shared in
this field.
12. family_mem_id* String family member identifier unique across in same family
13. SECC_HHD String If the state database is linked to SECC data, the SECC
HHID must be populated.
pg. 4
BIS – State Scheme Integration
BIS application will call a Web service exposed by the State/UTs by passing ID_Type (alphanumeric
number - generated through BIS application), ID_Number, Token as request parameter Scheme
will send back the following details in Response:
1) Complete Dataset OR
2) No Data if No Records are found OR
3) Error Message if there was some issue.
Technology Details
Every time, Get Family Details API will provide the verified/ Final data to the BIS application
• Request
{
"ID_Type": "",
"ID_Number": "",
"Token": "",
"state_code": "",
}
pg. 5
BIS – State Scheme Integration
• Response
{
"Header": {
"ID_Type": "",
"ID_Number": "",
"error_code": "",
"error_msg": ""
},
"Details": [
{
"family_guid": "",
"family_id": "",
"SECC_HHD": "",
"state_lgd_code": "",
"district_lgd_code": "",
"subdistrict_lgd_code": "",
"village_town_lgd_code": "",
"pincode": "",
"rural_urban": "",
"family": [
{
"family_mem_guid_id": "",
"family_mem_id": "",
"member_name_eng": "",
"member_name_regional": "",
"mother_name_eng": "",
"mother_name_regional": "",
"father_name_eng": "",
"father_name_regional": "",
"spouse_name_eng": "",
"spouse_name_regional": "",
"year_of_birth": "",
"mobile_number": "",
"relation_name": "",
"gender": "",
"address": "",
"AHL_TIN": ""
}
],
"remarks": "",
"field1": "",
"field2": ""
}
]
}
pg. 6
BIS – State Scheme Integration
SAMPLE
• REQUEST
{
"ID_Type": "PDS",
"ID_Number": "202006833406",
"Token": "xyzx@xyzxyzxy&zxyzxxyzyxyxz",
"state_code": "20",
}
• RESPONSE
{
"header": {
"error_code": "200",
"error_msg": "SUCCESS",
"id_Type": "PDS",
"id_Number": "202006833406"
},
"details": [
{
"family_guid": "57a47540-db2c-4ea5-b1a6-40e5c0a80129",
"family_id": "57a47540-db2c-4ea5-b1a6-40e5c0a80129",
"state_lgd_code": "13",
"district_lgd_code": "614",
"subdistrict_lgd_code": "",
"village_town_lgd_code": "",
"rural_urban": "R",
"pincode": "798611",
"family": [
{
"family_mem_guid_id": "182885871",
"family_mem_id": "e4d7619f-72cd-40fd-b15d-45a4df0b0946",
"member_name_eng": "AVIHOLI SUMI",
"member_name_regional": "",
"father_name_eng": "HEKHI",
"father_name_regional": "",
"spouse_name_eng": "AHETO SUMI",
"spouse_name_regional": "AHETO SUMI",
"mother_name_eng": "ZUGHOLI",
"mother_name_regional": "",
"relation_name": "WIFE",
"gender": "F",
"mobile_number": "",
"year_of_birth": "1962",
"address": " STATION Road, RANCHI, Jharkhand ",
"ahl_TIN": "211309001000000000300081002"
},
{
"family_mem_guid_id": "183282199",
"family_mem_id": "eb79b8ac-c5c1-4d38-94b3-32b4c6df1cbd",
pg. 7
BIS – State Scheme Integration
pg. 8