text | |
"<s>[INST] getEncryptionKey This endpoint fetches the encryption key [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""23"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": "".upv9bhs3whh_1584622007032"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1584622007032"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"" | |
}, | |
""request"": { | |
""key_type"": ""MPIN-ENCRYPTION-KEY"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40032"", | |
""message"": """", | |
""status"": ""SUCCESS"" | |
}, | |
""key_value"": ""MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs+CLAhBZbP0MWBY5ka6EKCId2FAIV2ygFkNPhGfxXuqGNdQYRDwbSSYRRYwozRBnN4ooJ0XeGMofD9VLQWsCNvGmJxE2oC4wgDaYDWwjKfehFvwIs6RenJJa7RRcYwFsWAIHzvLHCxGugxAZbjLhMvP+1E0DAiSGN/L/UTdCkxfr4XzlTMi0kcirHLgiAdIIy7F7zRjtw6pcVkzRbwHOhT6rus4MpThYhMIoY6CYpwsF+ryqlqExl1bp0xydtf2CGFjKvlIxxU0yTMx1/ce3ewmVpFKkNgfQOPOe18RGB45W6GjtCZAO5rSslg465T1bahrEABbEfSxBQDgARfLsVQIDAQAB"" | |
} </s>" | |
"<s>[INST] createOrUpdateOffice This endpoint creates or updates a Office [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"" | |
}, | |
""request"": { | |
""office_details"": { | |
""name"":""South Zone Regional Office"", | |
""corporate_id"": ""1"", | |
""parent_id"":""1"", | |
""office_code"": ""OFC006"", | |
""description"":""description"", | |
""office_level"": ""OFF_LVL_002"", | |
""opened_on"": ""1516171964240"" | |
}, | |
""contact_details"": { | |
""name"": ""Vishal Goel"", | |
""mobile_number"": ""9816923672"", | |
""mobile_country_code"": ""+91"", | |
""primary_email"": null | |
}, | |
""address_details"": [ | |
{ | |
""pincode"": ""560102"", | |
""type"": ""OFF_ADD_TYP_001"", | |
""geo_hierarchy_element_id"": ""5"", | |
""address_line_1"": ""Novopay Solution"", | |
""locality"": null, | |
""geocoded_lat_long"": ""1.2313,2.3423423"" | |
} | |
], | |
""attributes"" : [ | |
{ | |
""key"":""testKey"", | |
""value"":""testValue"" | |
} | |
] | |
} | |
} { | |
""office_id"": ""1"", | |
""response_status"": { | |
""code"": ""40015"", | |
""message"": ""Office (PRC001) - Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getOfficeList This endpoint is used to fetch list and search of Price Codes. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""search_criteria"": {}, | |
""sort_criteria"": {}, | |
""page_size"": ""10"", | |
""offset"": ""0"" | |
} | |
} { | |
""offset"": ""0"", | |
""response_status"": { | |
""code"": ""40029"", | |
""message"": ""Office List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""number_of_records"": 5, | |
""office_list"": [{ | |
""address_details"": [], | |
""contact_details"": {}, | |
""attributes"": [], | |
""office_details"": { | |
""office_level"": ""OFF_LVL_001"", | |
""office_level_value"": ""Head Office"", | |
""corporate_id"": ""1"", | |
""office_code"": ""OFC001"", | |
""name"": ""Zonal Head Office"", | |
""id"": ""1"" | |
} | |
}, | |
{ | |
""address_details"": [{ | |
""id"": ""18"", | |
""type"": ""ADD_TYP_004"", | |
""type_value"": ""Office"", | |
""address_line_1"": ""Novopay Solution"", | |
""address_line_2"": null, | |
""locality"": null, | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""5"", | |
""pincode"": ""560102"", | |
""geocoded_lat_long"": ""1"" | |
}], | |
""contact_details"": { | |
""id"": ""3"", | |
""name"": ""Vishal Goel"", | |
""mobile_number"": ""9816923672"", | |
""mobile_country_code"": ""+91"", | |
""alternate_contact_number"": null, | |
""alternate_contact_country_code"": null, | |
""primary_email"": null, | |
""alternate_email"": null, | |
""landline"": null, | |
""landline_country_code"": null, | |
""fax"": null, | |
""fax_country_code"": null | |
}, | |
""attributes"": [{ | |
""id"": ""2"", | |
""key"": ""testKey"", | |
""value"": ""testValue"" | |
}], | |
""office_details"": { | |
""parent_name"": ""Zonal Head Office"", | |
""office_level"": ""OFF_LVL_002"", | |
""office_level_value"": ""Regional Office"", | |
""parent_id"": ""1"", | |
""corporate_id"": ""1"", | |
""office_code"": ""OFC003"", | |
""name"": ""South Zone Regional Office"", | |
""parent_code"": ""OFC001"", | |
""id"": ""4"" | |
} | |
}, | |
{ | |
""address_details"": [{ | |
""id"": ""19"", | |
""type"": ""ADD_TYP_004"", | |
""type_value"": ""Office"", | |
""address_line_1"": ""near hypermart"", | |
""address_line_2"": ""2nd floor"", | |
""locality"": ""Bangalore"", | |
""landmark"": ""Bellanduru"", | |
""geo_hierarchy_element_id"": ""5"", | |
""pincode"": ""560102"", | |
""geocoded_lat_long"": ""1"" | |
}], | |
""contact_details"": { | |
""id"": ""4"", | |
""name"": ""V34"", | |
""mobile_number"": ""7899044921"", | |
""mobile_country_code"": ""IN"", | |
""alternate_contact_number"": null, | |
""alternate_contact_country_code"": null, | |
""primary_email"": ""santhoshi@novopay.in"", | |
""alternate_email"": null, | |
""landline"": null, | |
""landline_country_code"": null, | |
""fax"": null, | |
""fax_country_code"": null | |
}, | |
""attributes"": [{ | |
""id"": ""3"", | |
""key"": ""testKey"", | |
""value"": ""testKey"" | |
}], | |
""office_details"": { | |
""parent_name"": ""Zonal Head Office"", | |
""office_level"": ""OFF_LVL_001"", | |
""office_level_value"": ""Head Office"", | |
""parent_id"": ""1"", | |
""corporate_id"": ""2"", | |
""office_code"": ""QQE134"", | |
""name"": ""North Zonal Office central"", | |
""parent_code"": ""OFC001"", | |
""id"": ""5"", | |
""external_code"": ""434533"" | |
} | |
}, | |
{ | |
""address_details"": [{ | |
""id"": ""20"", | |
""type"": ""ADD_TYP_004"", | |
""type_value"": ""Office"", | |
""address_line_1"": ""Novopay Solution"", | |
""address_line_2"": null, | |
""locality"": null, | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""5"", | |
""pincode"": ""560102"", | |
""geocoded_lat_long"": ""1.34234,23.3242"" | |
}], | |
""contact_details"": { | |
""id"": ""5"", | |
""name"": ""Vishal Goel"", | |
""mobile_number"": ""9816923672"", | |
""mobile_country_code"": ""+91"", | |
""alternate_contact_number"": null, | |
""alternate_contact_country_code"": null, | |
""primary_email"": ""vishalgoel003@gmail.com"", | |
""alternate_email"": ""vishal_goel@gmail.com"", | |
""landline"": null, | |
""landline_country_code"": null, | |
""fax"": null, | |
""fax_country_code"": null | |
}, | |
""attributes"": [{ | |
""id"": ""4"", | |
""key"": ""testKey"", | |
""value"": ""testValue"" | |
}], | |
""office_details"": { | |
""parent_name"": ""Zonal Head Office"", | |
""office_level"": ""OFF_LVL_002"", | |
""office_level_value"": ""Regional Office"", | |
""parent_id"": ""1"", | |
""corporate_id"": ""1"", | |
""office_code"": ""OFC005"", | |
""name"": ""BlaBla Zone Regional Office"", | |
""parent_code"": ""OFC001"", | |
""id"": ""6"" | |
} | |
}, | |
{ | |
""address_details"": [{ | |
""id"": ""28"", | |
""type"": ""ADD_TYP_004"", | |
""type_value"": ""Office"", | |
""address_line_1"": ""Novopay Solution"", | |
""address_line_2"": null, | |
""locality"": null, | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""5"", | |
""pincode"": ""560102"", | |
""geocoded_lat_long"": ""1.32424,4.4543"" | |
}], | |
""contact_details"": { | |
""id"": ""12"", | |
""name"": ""Vishal Goel"", | |
""mobile_number"": null, | |
""mobile_country_code"": null, | |
""alternate_contact_number"": null, | |
""alternate_contact_country_code"": null, | |
""primary_email"": ""vishalgoel003@gmail.com"", | |
""alternate_email"": null, | |
""landline"": null, | |
""landline_country_code"": null, | |
""fax"": null, | |
""fax_country_code"": null | |
}, | |
""attributes"": [], | |
""office_details"": { | |
""parent_name"": ""Zonal Head Office"", | |
""office_level"": ""OFF_LVL_002"", | |
""office_level_value"": ""Regional Office"", | |
""parent_id"": ""1"", | |
""corporate_id"": ""1"", | |
""office_code"": ""OFC006"", | |
""name"": ""South Zone Regional Office"", | |
""parent_code"": ""OFC001"", | |
""id"": ""7"" | |
} | |
} | |
], | |
""page_size"": 5 | |
} </s>" | |
"<s>[INST] getOfficeDetails This endpoint is used to fetch details of Office [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""7"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40030"", | |
""message"": ""Office Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""address_details"": [{ | |
""pincode"": ""560102"", | |
""address_line_1"": ""Novopay Solution"", | |
""locality"": null, | |
""geocoded_lat_long"": ""1.32424,4.4543"", | |
""id"": ""28"", | |
""address_line_2"": null, | |
""type"": ""ADD_TYP_004"", | |
""landmark"": null, | |
""type_value"": ""Office"", | |
""geo_hierarchy_element_id"": ""5"" | |
}], | |
""contact_details"": { | |
""alternate_contact_number"": null, | |
""fax_country_code"": null, | |
""name"": ""Vishal Goel"", | |
""primary_email"": ""vishalgoel003@gmail.com"", | |
""id"": ""12"", | |
""landline"": null, | |
""mobile_number"": null, | |
""mobile_country_code"": null, | |
""alternate_contact_country_code"": null, | |
""fax"": null, | |
""alternate_email"": null, | |
""landline_country_code"": null | |
}, | |
""attributes"": [], | |
""office_details"": { | |
""parent_name"": ""Zonal Head Office"", | |
""office_level"": ""OFF_LVL_002"", | |
""office_level_value"": ""Regional Office"", | |
""office_code"": ""OFC006"", | |
""description"": ""description"", | |
""opened_on"": ""1516127400000"", | |
""status_changed_remarks"": "" "", | |
""parent_id"": ""1"", | |
""corporate_id"": ""1"", | |
""closed_on"": null, | |
""name"": ""South Zone Regional Office"", | |
""parent_code"": ""OFC001"", | |
""id"": ""7"", | |
""status_changed_on"": ""1520688118000"", | |
""external_code"": null, | |
""status"": ""ACTIVE"" | |
} | |
} </s>" | |
"<s>[INST] deleteOffice This endpoint is used to delete Office. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""1"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40017"", | |
""message"": ""Office (OFC001) - Deleted"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getOfficeCodeAndNameByIds This endpoint is used to get Office list. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""ids"": [""1""] | |
} | |
} { | |
""response_status"": { | |
""code"": ""40029"", | |
""message"": ""Office List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""office_list"": [ | |
{ | |
""office_details"": { | |
""office_name"": ""test"", | |
""office_code"": ""1"", | |
""id"": ""1"" | |
} | |
} | |
] | |
} </s>" | |
"<s>[INST] createOrUpdateEmployee This endpoint creates or updates an employee. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""23"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": "".upv9bhs3whh_1584622007032"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1584622007032"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"" | |
}, | |
""request"": { | |
""employee_basic_details"": { | |
""parent_id"":""1"", | |
""first_name"": ""santhoshi"", | |
""middle_name"": ""sASD"", | |
""last_name"": ""guggul"", | |
""date_of_birth"": ""226780200000"", | |
""image_document_id"": """", | |
""salutation"": ""DR"", | |
""gender"": ""FEMALE"" | |
}, | |
""employee_address_details"": [ | |
{ | |
""contact_details"": {}, | |
""latitude"": ""12.8717039"", | |
""longitude"": ""77.6545065"", | |
""address_line_1"": ""3rd cross,ck nagar"", | |
""address_line_2"": ""ck nagar"", | |
""geo_hierarchy_element_id"": ""10"", | |
""pincode"": ""560100"", | |
""STATE"": ""Karnataka"", | |
""DISTRICT"": ""Bengaluru"", | |
""SUB-DISTRICT"": ""Bengaluru"", | |
""VTC"": ""Bellandur"", | |
""geocoded_lat_long"": ""12.8717039,77.6545065"", | |
""type"": ""PERMANENT"", | |
""type_value"": ""Permanent"", | |
""COUNTRY"": ""India"" | |
} | |
], | |
""employment_details"": { | |
""office_id"": ""1"", | |
""employee_id"": ""EMP6657456546"", | |
""employment_start_date"": ""1583001000000"", | |
""external_reference_number"": ""23478"", | |
""employment_type"": ""PERM"", | |
""department"": ""OPS"", | |
""designation"": ""TO"" | |
}, | |
""employee_contact_details"": { | |
""mobile_country_code"": ""91"", | |
""mobile_number"": ""8374534775"", | |
""alternate_contact_country_code"": ""91"", | |
""alternate_contact_number"": ""9938278234"", | |
""primary_email"": ""sonuad@gmail.com"" | |
}, | |
""employee_user_details"": { | |
""handle_details"": [ | |
{ | |
""handle_type"": ""USERNAME"", | |
""handle_value"": ""sonuad@gmail.com"" | |
} | |
], | |
""role_id"": ""4"" | |
}, | |
""auth_details"": {}, | |
""employee_document_details"": [ | |
] | |
} | |
} { | |
""response_status"": { | |
""code"": ""40000"", | |
""message"": ""Employee (EMP6657456546) - Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getEmployeeList This endpoint is used to fetch list and search of Employees. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""search_criteria"": {}, | |
""sort_criteria"": {}, | |
""page_size"": ""10"", | |
""offset"": ""0"" | |
} | |
} { | |
""offset"": 0, | |
""response_status"": { | |
""code"": ""40014"", | |
""message"": """", | |
""status"": ""SUCCESS"" | |
}, | |
""number_of_records"": 5, | |
""employee_list"": [ | |
{ | |
""employee_details"": { | |
""office_name"": ""IDFC Head Office"", | |
""employment_type"": ""EMP_TYP_001"", | |
""department_value"": """", | |
""employee_id"": ""85555555"", | |
""office_code"": ""IDFCP1"", | |
""status_value"": """", | |
""employment_type_value"": """", | |
""name"": ""Ashish Kumar"", | |
""id"": ""1"", | |
""parent_id"" : ""2"", | |
""department"": ""EMP_DEP_005"", | |
""status"": ""EMP_STA_ACTIVE"" | |
} | |
}, | |
{ | |
""employee_details"": { | |
""office_name"": ""IDFC Head Office"", | |
""employment_type"": ""EMP_TYP_002"", | |
""department_value"": """", | |
""employee_id"": ""12536475eer"", | |
""office_code"": ""IDFCP1"", | |
""status_value"": """", | |
""employment_type_value"": """", | |
""name"": ""Ravi Update Singh Kumar"", | |
""id"": ""2"", | |
""department"": ""EMP_DEP_004"", | |
""status"": ""EMP_STA_ACTIVE"" | |
} | |
}, | |
{ | |
""employee_details"": { | |
""office_name"": ""IDFC Head Office"", | |
""employment_type"": ""EMP_TYP_002"", | |
""department_value"": """", | |
""employee_id"": ""1234568797"", | |
""office_code"": ""IDFCP1"", | |
""status_value"": """", | |
""employment_type_value"": """", | |
""name"": ""Ashif Ali"", | |
""id"": ""3"", | |
""department"": ""EMP_DEP_003"", | |
""status"": ""EMP_STA_ACTIVE"" | |
} | |
}, | |
{ | |
""employee_details"": { | |
""office_name"": ""IDFC Head Office"", | |
""employment_type"": ""EMP_TYP_001"", | |
""department_value"": """", | |
""employee_id"": ""Kishore25"", | |
""office_code"": ""IDFCP1"", | |
""status_value"": """", | |
""employment_type_value"": """", | |
""name"": ""kishore KS"", | |
""id"": ""4"", | |
""department"": ""EMP_DEP_004"", | |
""status"": ""EMP_STA_ACTIVE"" | |
} | |
} | |
] </s>" | |
"<s>[INST] getEmployeeDetails This endpoint is used to fetch details of Employee. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""7"" | |
} | |
} { | |
""role_details"": { | |
""permission_code_list"": [ | |
""GENL-LEDG-CRET"", | |
""GENL-LEDG-VIEW"", | |
""GENL-LEDG-UPDT"", | |
""GENL-LEDG-DELE"", | |
""GENL-LEDG-CRET-APPR"", | |
""GENL-LEDG-UPDT-APPR"", | |
""GENL-LEDG-DELE-APPR"", | |
""INTL-ACCT-DEFN-CRET"", | |
""INTL-ACCT-DEFN-VIEW"", | |
""INTL-ACCT-DEFN-UPDT"", | |
""INTL-ACCT-DEFN-DELE"", | |
""INTL-ACCT-DEFN-CRET-APPR"", | |
""INTL-ACCT-DEFN-UPDT-APPR"", | |
""INTL-ACCT-DEFN-DELE-APPR"", | |
""INTL-ACCT-CRET"", | |
""INTL-ACCT-VIEW"", | |
""INTL-ACCT-UPDT"", | |
""INTL-ACCT-DELE"", | |
""INTL-ACCT-CRET-APPR"", | |
""INTL-ACCT-UPDT-APPR"", | |
""INTL-ACCT-DELE-APPR"" | |
], | |
""code"": ""RoleUnderCorp2"", | |
""name"": ""Role corp two"", | |
""parent_role_id"": null, | |
""id"": ""253"" | |
}, | |
""employee_contact_details"": { | |
""alternate_contact_number"": null, | |
""fax_country_code"": null, | |
""name"": null, | |
""primary_email"": ""rqweq@g.com"", | |
""id"": ""1371"", | |
""landline"": null, | |
""mobile_number"": ""7667668787"", | |
""mobile_country_code"": ""677"", | |
""alternate_contact_country_code"": null, | |
""fax"": null, | |
""alternate_email"": null, | |
""landline_country_code"": null | |
}, | |
""response_status"": { | |
""code"": ""40071"", | |
""message"": ""Employee Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""employee_user_details"": { | |
""handle_details"": [ | |
{ | |
""handle_type"": ""USERNAME"", | |
""handle_value"": ""rqweq@g.com"" | |
} | |
], | |
""auth_details"": null, | |
""id"": ""573"" | |
}, | |
""employee_address_details"": [ | |
{ | |
""pincode"": ""877878"", | |
""city"": ""Bellandur"", | |
""locality"": null, | |
""contact_details"": {}, | |
""type"": ""CORRESPONDENCE"", | |
""type_value"": ""Correspondence"", | |
""address_line_1"": ""qwerqw"", | |
""geocoded_lat_long"": null, | |
""id"": ""1274"", | |
""address_line_2"": null, | |
""state"": ""Bengaluru"", | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""5"" | |
} | |
], | |
""attributes"": null, | |
""employee_basic_details"": { | |
""parent_corporate_id"": ""327"", | |
""image_document_id"": null, | |
""gender"": ""MALE"", | |
""date_of_birth"": """", | |
""last_name"": ""qwerqwe"", | |
""middle_name"": null, | |
""corporate_code"": null, | |
""office_id"": ""1"", | |
""preferred_language_value"": ""English"", | |
""gender_value"": ""Male"", | |
""corporate_name"": null, | |
""salutation"": ""MR"", | |
""first_name"": ""qwerqwer"", | |
""preferred_language"": ""en-in"", | |
""salutation_value"": ""Mr"" | |
}, | |
""employment_details"": { | |
""employment_type"": null, | |
""employment_start_date"": null, | |
""status_value"": ""Active"", | |
""office_code"": ""IDFCP1"", | |
""external_reference_number"": null, | |
""office_id"": ""1"", | |
""office_name"": ""IDFC Head Office"", | |
""department_value"": null, | |
""employment_type_value"": null, | |
""employee_id"": ""Employe198888"", | |
""designation"": null, | |
""department"": null, | |
""designation_value"": null, | |
""status"": ""ACTIVE"" | |
}, | |
""employee_document_details"": [] | |
} </s>" | |
"<s>[INST] createOrUpdateInventoryItem This endpoint creates or updates a inventory item. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""WEB_APP"", | |
""end_channel_code"": ""DEFAULT"", | |
""stan"": ""1536211395407"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"" | |
}, | |
""request"": { | |
""inventory_item_details"": { | |
""name"": ""TTTTT"", | |
""serial_number"": ""dasdasd"", | |
""description"": ""RRRRR"", | |
""inv_item_product_name"": ""KKKKK"", | |
""inv_item_corp_id"": ""3"", | |
""inv_item_corp_ofc_id"": ""1"", | |
""inv_item_manufacturer_id"": ""1"", | |
""inv_item_brand_id"": ""2"", | |
""inv_item_product_id"": ""1"", | |
""status"": ""INV_ITM_STA_ACT"", | |
""attributes"": [ | |
{ | |
""attr_key"": ""imei1"", | |
""attr_value"": ""354567987653456"" | |
}, | |
{ | |
""attr_key"": ""imei1"", | |
""attr_value"": ""354567987653456"" | |
} | |
] | |
} | |
} | |
} { | |
""response_status"": { | |
""code"": ""40015"", | |
""message"": ""Inventory Item (INVT001) - Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getInventoryItemList This endpoint is used to fetch list and search for inventory items | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""search_criteria"": {}, | |
""sort_criteria"": {}, | |
""page_size"": ""10"", | |
""offset"": ""0"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40029"", | |
""message"": ""Inventory Item List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""inventory_item_details_list"": [ | |
{ | |
""inventory_item_details"": { | |
""inv_item_type"": ""INV_ITM_TYP_BAR"", | |
""status_value"": ""Active"", | |
""item_number"": ""asdasd"", | |
""description"": ""asdasd"", | |
""inv_item_sub_type"": ""INV_ITM_TYP_BAR_001"", | |
""inv_item_sub_type_value"":""INV_ITM_TYP_BAR_011"" | |
""inv_item_corp_ofc_name"": ""Zonal Head Office"", | |
""inv_item_corp_name"": ""Tenant"", | |
""inv_item_product_name"": ""asda"", | |
""inv_item_corp_code"": ""CORP001"", | |
""inv_item_corp_ofc_code"": ""OFC001"", | |
""inv_item_brand_code"": ""asd"", | |
""name"": ""asdas"", | |
""inv_item_brand_name"": ""asd"", | |
""id"": ""1"", | |
""inv_item_type_value"": ""Fixed Barcode Scanners"", | |
""inv_item_product_code"": ""CODE"", | |
""inv_item_manufacturer_name"": ""dasd"", | |
""status"": ""INV_ITM_STA_ACT"", | |
""inv_item_manufacturer_code"": ""asd"" | |
} | |
} | |
], | |
""page_size"": ""1"", | |
""number_of_records"": ""1"" | |
} </s>" | |
"<s>[INST] getInventoryItemDetails This endpoint is used to fetch details of Inventory Item | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""7"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40030"", | |
""message"": ""Inventory Item Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""inventory_item_details"": { | |
""inv_item_type"": ""INV_ITM_TYP_BAR"", | |
""status_value"": ""Active"", | |
""item_number"": ""asdasd"", | |
""description"": ""asdasd"", | |
""inv_item_sub_type"": ""INV_ITM_TYP_BAR_001"", | |
""inv_item_corp_ofc_name"": ""Zonal Head Office"", | |
""inv_item_product_logo"": ""asdasd"", | |
""inv_item_corp_name"": ""Tenant"", | |
""inv_item_brand_code"": ""asd"", | |
""inv_item_brand_id"": 1, | |
""id"": 1, | |
""inv_item_manufacturer_name"": ""dasd"", | |
""inv_item_product_code"": ""CODE"", | |
""inv_item_sub_type_value"": ""Fixed Barcode Scanners"", | |
""inv_item_corp_ofc_id"": 1, | |
""inv_item_product_id"": 1, | |
""serial_number"": ""dasdasd"", | |
""inv_item_corp_code"": ""CORP001"", | |
""inv_item_corp_ofc_code"": ""OFC001"", | |
""inv_item_manufacturer_id"": 1, | |
""inv_item_product_name"": ""asda"", | |
""name"": ""asdas"", | |
""inv_item_brand_name"": ""asd"", | |
""attributes"": [ | |
{ | |
""inventoryItemId"": 1, | |
""attrKey"": ""imei1"", | |
""id"": 3, | |
""attrValue"": ""56565656556"" | |
}, | |
{ | |
""inventoryItemId"": 1, | |
""attrKey"": ""imei2"", | |
""id"": 4, | |
""attrValue"": ""5882623253"" | |
} | |
], | |
""inv_item_type_value"": ""Barcode Scanner"", | |
""inv_item_corp_id"": 2, | |
""status"": ""INV_ITM_STA_ACT"", | |
""inv_item_manufacturer_code"": ""asd"" | |
} | |
} </s>" | |
"<s>[INST] deleteInventoryItem This endpoint is used to delete Inventory Item | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""1"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40017"", | |
""message"": ""Inventory Item (INVT001) - Deleted"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getInventoryManufacturerList This endpoint is used to fetch list and search for manufacturer list | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""novopay"", | |
""channel_code"": ""ADMIN_APP"", | |
""end_channel_code"": ""novopay"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""180.151.197.2"", | |
""transmission_datetime"": ""1535350511836"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""ADMIN"", | |
""user_id"": ""44"", | |
""location"": ""42,23"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"", | |
""device_id"": ""qwerty909090"", | |
""sim_number"": ""987654321123456789"" | |
}, | |
""request"": { | |
""sort_criteria"": { | |
""order"": ""ASC"", | |
""fields"": [] | |
}, | |
""page_size"": ""10"", | |
""offset"": ""0"", | |
""search_criteria"": { | |
""inventory_item_type"": ""INV_ITM_TYP_MOB"", | |
""inventory_item_sub_type"": ""INV_ITM_TYP_MOB_001"" | |
} | |
} | |
} { | |
""inventory_manufacturer_list"": [ | |
{ | |
""inventory_manufacturer_details"": { | |
""manufacturer_id"": ""1"", | |
""manufacturer_code"": ""Manuf01"", | |
""manufacturer_name"": ""Nokia"" | |
} | |
}, | |
{ | |
""inventory_manufacturer_details"": { | |
""manufacturer_id"": ""1"", | |
""manufacturer_code"": ""Manuf01"", | |
""manufacturer_name"": ""Nokia"" | |
} | |
}, | |
{ | |
""inventory_manufacturer_details"": { | |
""manufacturer_id"": ""2"", | |
""manufacturer_code"": ""Samsung01"", | |
""manufacturer_name"": ""Samsung"" | |
} | |
} | |
], | |
""response_status"": { | |
""code"": ""40029"", | |
""message"": ""Inventory Item List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getInventoryBrandList This endpoint is used to fetch list and search for brand list | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""novopay"", | |
""channel_code"": ""ADMIN_APP"", | |
""end_channel_code"": ""novopay"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""180.151.197.2"", | |
""transmission_datetime"": ""1535350511836"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""ADMIN"", | |
""user_id"": ""44"", | |
""location"": ""42,23"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"", | |
""device_id"": ""qwerty909090"", | |
""sim_number"": ""987654321123456789"" | |
}, | |
""request"": { | |
""sort_criteria"": { | |
""order"": ""ASC"", | |
""fields"": [] | |
}, | |
""page_size"": ""10"", | |
""offset"": ""0"", | |
""search_criteria"": { | |
} | |
} | |
} { | |
""response_status"": { | |
""code"": ""40029"", | |
""message"": ""Inventory brand List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""inventory_brand_details_list"": [ | |
{ | |
""inventory_brand_details"": { | |
""brand_code"": ""NokiaK1"", | |
""brand_name"": ""K Series"", | |
""brand_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""brand_id"": ""1"", | |
""brand_description"" : ""Brand Description"" | |
} | |
}, | |
{ | |
""inventory_brand_details"": { | |
""brand_code"": ""Samsung"", | |
""brand_name"": ""Sam Sseven "", | |
""brand_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""brand_id"": ""2"", | |
""brand_description"" : ""Brand Description"" | |
} | |
}, | |
{ | |
""inventory_brand_details"": { | |
""brand_code"": ""NokiaK2"", | |
""brand_name"": ""K Series"", | |
""brand_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""brand_id"": ""3"", | |
""brand_description"" : ""Brand Description"" | |
} | |
}, | |
{ | |
""inventory_brand_details"": { | |
""brand_code"": ""DellP"", | |
""brand_name"": ""Dell Printer1"", | |
""brand_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""brand_id"": ""4"", | |
""brand_description"" : ""Brand Description"" | |
} | |
}, | |
{ | |
""inventory_brand_details"": { | |
""brand_code"": ""DellP2"", | |
""brand_name"": ""Dell Printer2"", | |
""brand_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""brand_id"": ""5"", | |
""brand_description"" : ""Brand Description"" | |
} | |
}, | |
{ | |
""inventory_brand_details"": { | |
""brand_code"": ""HPPrint01"", | |
""brand_name"": ""HP Printer1"", | |
""brand_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""brand_id"": ""6"", | |
""brand_description"" : ""Brand Description"" | |
} | |
}, | |
{ | |
""inventory_brand_details"": { | |
""brand_code"": ""HPPrint02"", | |
""brand_name"": ""HP Printer2"", | |
""brand_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""brand_id"": ""8"", | |
""brand_description"" : ""Brand Description"" | |
} | |
}, | |
{ | |
""inventory_brand_details"": { | |
""brand_code"": ""Checque25"", | |
""brand_name"": ""SBI Checque25"", | |
""brand_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""brand_id"": ""9"", | |
""brand_description"" : ""Brand Description"" | |
} | |
}, | |
{ | |
""inventory_brand_details"": { | |
""brand_code"": ""Checque50"", | |
""brand_name"": ""SBI Checque50"", | |
""brand_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""brand_id"": ""10"", | |
""brand_description"" : ""Brand Description"" | |
} | |
}, | |
{ | |
""inventory_brand_details"": { | |
""brand_code"": ""MATM"", | |
""brand_name"": ""Micro AtM"", | |
""brand_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""brand_id"": ""11"", | |
""brand_description"" : ""Brand Description"" | |
} | |
} | |
] | |
} </s>" | |
"<s>[INST] getInventoryProductList This endpoint is used to fetch list and search for product list | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""novopay"", | |
""channel_code"": ""ADMIN_APP"", | |
""end_channel_code"": ""novopay"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""180.151.197.2"", | |
""transmission_datetime"": ""1535350511836"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""ADMIN"", | |
""user_id"": ""44"", | |
""location"": ""42,23"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"", | |
""device_id"": ""qwerty909090"", | |
""sim_number"": ""987654321123456789"" | |
}, | |
""request"": { | |
""sort_criteria"": { | |
""order"": ""ASC"", | |
""fields"": [] | |
}, | |
""page_size"": ""10"", | |
""offset"": ""0"", | |
""search_criteria"": { | |
} | |
} | |
} { | |
""response_status"": { | |
""code"": ""40029"", | |
""message"": ""Inventory Item List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""inventory_product_details_list"": [ | |
{ | |
""inventory_product_details"": { | |
""product_sub_type"": ""INV_ITM_TYP_MOB_002"", | |
""product_type"": ""INV_ITM_TYP_MOB"", | |
""product_id"": ""1"", | |
""product_logo_url"": ""https://md3.pricebaba.com/images/product/mobile/32421/samsung-galaxy-on-nxt-64gb-raw.jpg"", | |
""product_code"": ""Prod001"", | |
""product_name"": ""Nokia Prod"" | |
} | |
}, | |
{ | |
""inventory_product_details"": { | |
""product_sub_type"": ""INV_ITM_TYP_DRC_001"", | |
""product_type"": ""INV_ITM_TYP_DRC"", | |
""product_id"": ""2"", | |
""product_logo_url"": ""https://md3.pricebaba.com/images/product/mobile/32421/samsung-galaxy-on-nxt-64gb-raw.jpg"", | |
""product_code"": ""SamProd"", | |
""product_name"": ""Samsung prod"" | |
} | |
}, | |
{ | |
""inventory_product_details"": { | |
""product_sub_type"": ""INV_ITM_TYP_MOB_001"", | |
""product_type"": ""INV_ITM_TYP_MOB"", | |
""product_id"": ""4"", | |
""product_logo_url"": ""https://md3.pricebaba.com/images/product/mobile/32421/samsung-galaxy-on-nxt-64gb-raw.jpg"", | |
""product_code"": ""Prod002"", | |
""product_name"": ""Nokia Prod"" | |
} | |
}, | |
{ | |
""inventory_product_details"": { | |
""product_sub_type"": ""INV_ITM_TYP_MOB_001"", | |
""product_type"": ""INV_ITM_TYP_MOB"", | |
""product_id"": ""5"", | |
""product_logo_url"": """", | |
""product_code"": ""Prod003"", | |
""product_name"": ""Nokia Prod2"" | |
} | |
}, | |
{ | |
""inventory_product_details"": { | |
""product_sub_type"": ""INV_ITM_TYP_MOB_001"", | |
""product_type"": ""INV_ITM_TYP_MOB"", | |
""product_id"": ""6"", | |
""product_logo_url"": ""https://md3.pricebaba.com/images/product/mobile/32421/samsung-galaxy-on-nxt-64gb-raw.jpg"", | |
""product_code"": ""Prod004"", | |
""product_name"": ""Nokia Prod4"" | |
} | |
}, | |
{ | |
""inventory_product_details"": { | |
""product_sub_type"": ""INV_ITM_TYP_BAR_001"", | |
""product_type"": ""INV_ITM_TYP_BAR"", | |
""product_id"": ""7"", | |
""product_logo_url"": ""https://md3.pricebaba.com/images/product/mobile/32421/samsung-galaxy-on-nxt-64gb-raw.jpg"", | |
""product_code"": ""Prod005"", | |
""product_name"": ""Barcode Scanner"" | |
} | |
}, | |
{ | |
""inventory_product_details"": { | |
""product_sub_type"": ""INV_ITM_TYP_BAR_002"", | |
""product_type"": ""INV_ITM_TYP_BAR"", | |
""product_id"": ""8"", | |
""product_logo_url"": ""https://md3.pricebaba.com/images/product/mobile/32421/samsung-galaxy-on-nxt-64gb-raw.jpg"", | |
""product_code"": ""Prod006"", | |
""product_name"": ""Barcode Scanner1"" | |
} | |
}, | |
{ | |
""inventory_product_details"": { | |
""product_sub_type"": ""INV_ITM_TYP_CHE_001"", | |
""product_type"": ""INV_ITM_TYP_CHE"", | |
""product_id"": ""9"", | |
""product_logo_url"": ""https://md3.pricebaba.com/images/product/mobile/32421/samsung-galaxy-on-nxt-64gb-raw.jpg"", | |
""product_code"": ""Prod007"", | |
""product_name"": ""Checque"" | |
} | |
}, | |
{ | |
""inventory_product_details"": { | |
""product_sub_type"": ""INV_ITM_TYP_CHE_002"", | |
""product_type"": ""INV_ITM_TYP_CHE"", | |
""product_id"": ""10"", | |
""product_logo_url"": ""https://md3.pricebaba.com/images/product/mobile/32421/samsung-galaxy-on-nxt-64gb-raw.jpg"", | |
""product_code"": ""Prod008"", | |
""product_name"": ""Checque"" | |
} | |
}, | |
{ | |
""inventory_product_details"": { | |
""product_sub_type"": ""INV_ITM_TYP_MATM_002"", | |
""product_type"": ""INV_ITM_TYP_MATM"", | |
""product_id"": ""11"", | |
""product_logo_url"": ""https://1.bp.blogspot.com/--fCe5G7TYbg/WjAhseTY9yI/AAAAAAAAAVE/9VXH0XaH5wAN01LN0O-dZJ3hQuAj2l6mACLcBGAs/s320/cashless-bano-india-micro-atm_650x400_41499165219.jpg"", | |
""product_code"": ""Suryodaya MATM"", | |
""product_name"": ""Micro ATM"" | |
} | |
} | |
] | |
} </s>" | |
"<s>[INST] assignInventoryItem This endpoint is used to assign Inventory to a Agent/Agent Employee or Branch Employee | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""5"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1589969444097"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""locale"": ""en-in"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""assignment_details"": { | |
""inventory_item_id"": ""145"", | |
""assignee_id"": ""201"", | |
""actor_type"": ""AGENT"" | |
} | |
} | |
} { | |
""response_status"": { | |
""code"": ""40074"", | |
""message"": ""Inventory Item IV12345 assigned to AGNT990 - Agent Rahul is submitted for Approval"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] unassignInventoryItem This endpoint is used to unassign Inventory from a Agent/Agent Employee or Branch Employee | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""5"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1589969444097"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""locale"": ""en-in"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""145"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40078"", | |
""message"": ""Inventory Item IV12345 unassigned from AGNT990 - Agent Rahul is submitted for Approval"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getParentHierarchyList This endpoint is to create or update a General Ledger. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""REAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""BY_ELEMENT"" | |
}, | |
""request"": { | |
""element_id"":""9"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""000"", | |
""message"": """", | |
""status"": ""SUCCESS"" | |
}, | |
""hierarchy"": [ | |
{ | |
""element_parent_id"": ""."", | |
""level_name"": ""Country"", | |
""level_id"": 1, | |
""level_code"": ""COUNTRY"", | |
""element_id"": 1, | |
""element_name"": ""India"", | |
""element_code"": ""IN"" | |
}, | |
{ | |
""element_parent_id"": "".1."", | |
""level_name"": ""State"", | |
""level_id"": 2, | |
""level_code"": ""STATE"", | |
""element_id"": 2, | |
""element_name"": ""Karnataka"", | |
""element_code"": ""KARNATAKA"" | |
}, | |
{ | |
""element_parent_id"": "".2.1."", | |
""level_name"": ""District"", | |
""level_id"": 3, | |
""level_code"": ""DISTRICT"", | |
""element_id"": 3, | |
""element_name"": ""Bengaluru"", | |
""element_code"": ""BENGALURU"" | |
}, | |
{ | |
""element_parent_id"": "".3.2.1."", | |
""level_name"": ""Sub-district"", | |
""level_id"": 4, | |
""level_code"": ""SUB-DISTRICT"", | |
""element_id"": 4, | |
""element_name"": ""Bengaluru"", | |
""element_code"": ""BENGALURU"" | |
}, | |
{ | |
""element_parent_id"": "".4.3.2.1."", | |
""level_name"": ""Village/Town/City"", | |
""level_id"": 5, | |
""level_code"": ""VTC"", | |
""element_id"": 5, | |
""element_name"": ""Bellandur"", | |
""element_code"": ""BELLANDUR"" | |
} | |
] | |
} </s>" | |
"<s>[INST] getHierarchyLevels This endpoint fetches hierarchy levels for given template. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""41"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": "".o8zfso0x9om_1574675533670"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1574675533670"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""root_elements_required"": ""Y"", | |
""template_code"": ""IN"" | |
} | |
} { | |
""hierarchy_template"": { | |
""root_elements"": [{ | |
""element_id"": ""12"", | |
""element_name"": ""India"", | |
""element_code"": ""IN"" | |
}, { | |
""element_id"": ""20"", | |
""element_name"": ""name"", | |
""element_code"": ""country"" | |
}, { | |
""element_id"": ""21"", | |
""element_name"": ""DUBAI"", | |
""element_code"": ""AE"" | |
}, { | |
""element_id"": ""22"", | |
""element_name"": ""Kabul"", | |
""element_code"": ""AF"" | |
}, { | |
""element_id"": ""23"", | |
""element_name"": ""AUSTRALIA"", | |
""element_code"": ""AU"" | |
}, { | |
""element_id"": ""24"", | |
""element_name"": ""AUSTRIA"", | |
""element_code"": ""AT"" | |
}, { | |
""element_id"": ""25"", | |
""element_name"": ""BELGIUM"", | |
""element_code"": ""BE"" | |
}, { | |
""element_id"": ""26"", | |
""element_name"": ""BAHRAIN"", | |
""element_code"": ""BH"" | |
}, { | |
""element_id"": ""27"", | |
""element_name"": ""BHUTAN"", | |
""element_code"": ""BT"" | |
}, { | |
""element_id"": ""28"", | |
""element_name"": ""CANADA"", | |
""element_code"": ""CA"" | |
}, { | |
""element_id"": ""29"", | |
""element_name"": ""SWITZERLAND"", | |
""element_code"": ""CH"" | |
}, { | |
""element_id"": ""30"", | |
""element_name"": ""JINTAN"", | |
""element_code"": ""CN"" | |
}, { | |
""element_id"": ""31"", | |
""element_name"": ""CYPRUS"", | |
""element_code"": ""CY"" | |
}, { | |
""element_id"": ""32"", | |
""element_name"": ""CZECH REPUBLIC"", | |
""element_code"": ""CZ"" | |
}, { | |
""element_id"": ""33"", | |
""element_name"": ""GERMANY"", | |
""element_code"": ""DE"" | |
}, { | |
""element_id"": ""34"", | |
""element_name"": ""SPAIN"", | |
""element_code"": ""ES"" | |
}, { | |
""element_id"": ""35"", | |
""element_name"": ""FRANCE"", | |
""element_code"": ""FR"" | |
}, { | |
""element_id"": ""36"", | |
""element_name"": ""GREAT BRITAIN"", | |
""element_code"": ""GB"" | |
}, { | |
""element_id"": ""37"", | |
""element_name"": ""GRENADA"", | |
""element_code"": ""GD"" | |
}, { | |
""element_id"": ""38"", | |
""element_name"": ""HONG KONG"", | |
""element_code"": ""HK"" | |
}, { | |
""element_id"": ""39"", | |
""element_name"": ""ITALY"", | |
""element_code"": ""IT"" | |
}, { | |
""element_id"": ""40"", | |
""element_name"": ""JAMAICA"", | |
""element_code"": ""JM"" | |
}, { | |
""element_id"": ""41"", | |
""element_name"": ""JAPAN"", | |
""element_code"": ""JP"" | |
}, { | |
""element_id"": ""42"", | |
""element_name"": ""KENYA"", | |
""element_code"": ""KE"" | |
}, { | |
""element_id"": ""43"", | |
""element_name"": ""SOUTH KOREA"", | |
""element_code"": ""KR"" | |
}, { | |
""element_id"": ""44"", | |
""element_name"": ""KUWAIT"", | |
""element_code"": ""KW"" | |
}, { | |
""element_id"": ""45"", | |
""element_name"": ""SRI LANKA"", | |
""element_code"": ""LK"" | |
}, { | |
""element_id"": ""46"", | |
""element_name"": ""MAURITIUS"", | |
""element_code"": ""MU"" | |
}, { | |
""element_id"": ""47"", | |
""element_name"": ""NETHERLANDS"", | |
""element_code"": ""NL"" | |
}, { | |
""element_id"": ""48"", | |
""element_name"": ""NEPAL"", | |
""element_code"": ""NP"" | |
}, { | |
""element_id"": ""49"", | |
""element_name"": ""NEW ZEALAND"", | |
""element_code"": ""NZ"" | |
}, { | |
""element_id"": ""50"", | |
""element_name"": ""OMAN"", | |
""element_code"": ""OM"" | |
}, { | |
""element_id"": ""51"", | |
""element_name"": ""PORTUGAL"", | |
""element_code"": ""PT"" | |
}, { | |
""element_id"": ""52"", | |
""element_name"": ""QATAR"", | |
""element_code"": ""QA"" | |
}, { | |
""element_id"": ""53"", | |
""element_name"": ""SAUDI ARABIA"", | |
""element_code"": ""SA"" | |
}, { | |
""element_id"": ""54"", | |
""element_name"": ""SWEDEN"", | |
""element_code"": ""SE"" | |
}, { | |
""element_id"": ""55"", | |
""element_name"": ""SINGAPORE"", | |
""element_code"": ""SG"" | |
}, { | |
""element_id"": ""56"", | |
""element_name"": ""USA"", | |
""element_code"": ""US"" | |
}, { | |
""element_id"": ""57"", | |
""element_name"": ""VIETNAM"", | |
""element_code"": ""VN"" | |
}], | |
""name"": ""Geo Hierarchy Template"", | |
""description"": ""Geo Hierarchy for India"", | |
""id"": ""2"", | |
""hierarchy_levels"": [{ | |
""parent_level_id"": null, | |
""level_name"": ""Country"", | |
""level_id"": ""5"", | |
""level_code"": ""COUNTRY"", | |
""description"": ""country name"", | |
""is_mandatory"": ""Y"", | |
""is_leaf"": ""N"" | |
}, { | |
""parent_level_id"": ""5"", | |
""level_name"": ""State"", | |
""level_id"": ""6"", | |
""level_code"": ""STATE"", | |
""description"": ""State name"", | |
""is_mandatory"": ""Y"", | |
""is_leaf"": ""N"" | |
}, { | |
""parent_level_id"": ""6"", | |
""level_name"": ""District"", | |
""level_id"": ""7"", | |
""level_code"": ""DISTRICT"", | |
""description"": ""District name"", | |
""is_mandatory"": ""N"", | |
""is_leaf"": ""N"" | |
}, { | |
""parent_level_id"": ""7"", | |
""level_name"": ""Sub-district"", | |
""level_id"": ""8"", | |
""level_code"": ""SUB-DISTRICT"", | |
""description"": ""Sub-district name"", | |
""is_mandatory"": ""N"", | |
""is_leaf"": ""N"" | |
}, { | |
""parent_level_id"": ""8"", | |
""level_name"": ""Village\/Town\/City"", | |
""level_id"": ""9"", | |
""level_code"": ""VTC"", | |
""description"": ""Village\/Town\/City name"", | |
""is_mandatory"": ""N"", | |
""is_leaf"": ""Y"" | |
}], | |
""template_code"": ""IN"" | |
}, | |
""response_status"": { | |
""code"": ""000"", | |
""message"": """", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getChildHierarchyElements This endpoint fetches Child hierarchy elements for that level code and element code | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""41"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": "".rj0i74ohsjm_1574675717448"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1574675717448"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""template_code"": ""IN"", | |
""level_code"": ""COUNTRY"", | |
""element_code"": ""IN"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""000"", | |
""message"": """", | |
""status"": ""SUCCESS"" | |
}, | |
""hierarchy_elements"": [{ | |
""elements"": [{ | |
""element_id"": ""13"", | |
""element_name"": ""Karnataka"", | |
""element_code"": ""KARNATAKA"" | |
}, { | |
""element_id"": ""19"", | |
""element_name"": ""Andhra Pradesh"", | |
""element_code"": ""ANDP"" | |
}, { | |
""element_id"": ""524"", | |
""element_name"": ""Brazil"", | |
""element_code"": ""BRAZIL"" | |
}], | |
""level_code"": ""STATE"" | |
}] | |
} </s>" | |
"<s>[INST] createOrUpdateCustomer This endpoint creates or updates a customer. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""6"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": "".a4agt35gckb_1592292143966"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1592292143966"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"", | |
""locale"": ""en-in"" | |
}, | |
""request"": { | |
""personal_details"": { | |
""id"":null, | |
""formatted_id"":null, | |
""first_name"": ""sourav"", | |
""middle_name"": ""kumar"", | |
""last_name"": ""ghosh"", | |
""father_name"": ""mani"", | |
""mother_name"": ""kakali"", | |
""photo"": """", | |
""date_of_birth"": ""739650600000"", | |
""salutation"": ""MR"", | |
""marital_status"": ""SINGLE"", | |
""nationality"": ""INDIAN"", | |
""education"": ""GRAD"", | |
""gender"": ""MALE"", | |
""residential_status"": ""RESIDENT"", | |
""corporate_id"": ""2"", | |
""preferred_language"": ""en-in"" | |
}, | |
""additional_details"": { | |
""annual_income"": ""10000"", | |
""occupation"": ""BUSINESS"", | |
""source_of_funds"": ""SALARIED"", | |
""physically_challenged"": ""false"" | |
}, | |
""contact_details"": { | |
""primary_email"": ""sourav@sourav.com"", | |
""mobile_number"": ""8358818044"", | |
""mobile_country_code"": ""91"", | |
""alternate_contact_number"": ""8358818044"", | |
""alternate_contact_country_code"": ""91"" | |
}, | |
""handle_details"": [{ | |
""handle_type"": ""USERNAME"", | |
""handle_value"": ""souravg"" | |
} | |
], | |
""role_details"": { | |
""id"": ""12"" | |
}, | |
""address_details"": [{ | |
""address_line_1"": ""test123"", | |
""address_line_2"": ""test123"", | |
""geo_hierarchy_element_id"": ""16"", | |
""pincode"": ""560103"", | |
""STATE"": ""Karnataka"", | |
""DISTRICT"": ""Bengaluru"", | |
""SUB-DISTRICT"": ""Bengaluru"", | |
""VTC"": ""Bellandur"", | |
""type"": ""PERMANENT"", | |
""type_value"": ""Permanent"", | |
""COUNTRY"": ""India"" | |
} | |
], | |
""document_details"": [{ | |
""identifier"": ""Q8378854"", | |
""type"": ""PASSPORT"", | |
""purpose"": ""POI_POA"", | |
""valid_until"": """", | |
""description"": """", | |
""document_code"": ""e6ba9a3d-c0be-4dad-8f8d-8f816d0f3f9c"", | |
""version"": ""1"", | |
""type_value"": ""Passport"", | |
""purpose_value"": ""Proof Of Identity"", | |
""file_names"": [{ | |
""name"": ""1.pdf"", | |
""file_number"": ""1"" | |
}], | |
""number_of_files"": ""1"" | |
}] | |
} | |
} { | |
""response_status"": { | |
""code"": ""40015"", | |
""message"": ""Customer created successfully. Customer ID is 0000000489"", | |
""status"": ""SUCCESS"" | |
} | |
} | |
{ | |
""formatted_id"": ""0000000500"", | |
""response_status"": { | |
""code"": ""40094"", | |
""message"": ""Customer created successfully. Customer ID is 0000000500"", | |
""status"": ""SUCCESS"" | |
}, | |
""virtual_account_list"": null, | |
""id"": ""127"" | |
} </s>" | |
"<s>[INST] getCustomerList This endpoint is usd to fetch list and search for customer | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""search_criteria"": {}, | |
""sort_criteria"": {}, | |
""page_size"": ""10"", | |
""offset"": ""0"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40115"", | |
""message"": ""Customer Onbaording List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""customer_list"": [ | |
{ | |
""customer_details"": { | |
""formatted_id"": ""00000040"", | |
""status_value"": ""Active"", | |
""name"": ""eustass ."", | |
""id"": ""2"", | |
""mobile_number"": ""6979879898"", | |
""status"": ""ACT"" | |
} | |
} | |
], | |
""page_size"": ""1"", | |
""number_of_records"": ""1"" | |
} </s>" | |
"<s>[INST] getCustomerDetails This endpoint is used to fetch details of customer | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""7"" | |
} | |
} { | |
""role_details"": { | |
""code"": ""tax2"", | |
""name"": ""tax2"", | |
""id"": ""12"" | |
}, | |
""document_details"": [], | |
""response_status"": { | |
""code"": ""40114"", | |
""message"": ""Customer Onbaording Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""additional_details"": { | |
""occupation"": null, | |
""source_of_funds_value"": null, | |
""physically_challenged"": null, | |
""occupation_value"": null, | |
""source_of_funds"": null, | |
""annual_income"": null | |
}, | |
""handle_details"": [ | |
{ | |
""handle_value"": ""test2"", | |
""handle_type"": ""USERNAME"" | |
}, | |
{ | |
""handle_value"": ""9789786875"", | |
""handle_type"": ""MSISDN"" | |
}, | |
{ | |
""handle_value"": ""test2@gmail.com"", | |
""handle_type"": ""EMAIL"" | |
} | |
], | |
""user_id"": ""151"", | |
""address_details"": [ | |
{ | |
""pincode"": ""876765"", | |
""city"": ""Bellandur"", | |
""locality"": null, | |
""contact_details"": {}, | |
""type"": ""PERMANENT"", | |
""type_value"": ""Permanent"", | |
""address_line_1"": ""jhfhc"", | |
""geocoded_lat_long"": ""12.914076500000002,77.66505480000001"", | |
""id"": ""293"", | |
""address_line_2"": ""cychvh"", | |
""state"": ""Bengaluru"", | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""16"" | |
} | |
], | |
""contact_details"": { | |
""alternate_contact_number"": null, | |
""fax_country_code"": null, | |
""primary_email"": ""test2@gmail.com"", | |
""id"": ""349"", | |
""landline"": null, | |
""mobile_number"": ""9789786875"", | |
""mobile_country_code"": ""919"", | |
""alternate_contact_country_code"": null, | |
""fax"": null, | |
""alternate_email"": null | |
}, | |
""personal_details"": { | |
""education"": null, | |
""gender"": ""MALE"", | |
""date_of_birth"": ""1010601000000"", | |
""mother_name"": null, | |
""residential_status_value"": ""Non Resident"", | |
""nationality_value"": ""Indian"", | |
""preferred_language_value"": null, | |
""gender_value"": ""Male"", | |
""residential_status"": ""NONRESIDENT"", | |
""id"": ""6"", | |
""first_name"": ""Test"", | |
""preferred_language"": null, | |
""formatted_id"": ""0000000007"", | |
""marital_status_value"": ""Single"", | |
""last_name"": ""Two"", | |
""photo"": null, | |
""middle_name"": null, | |
""marital_status"": ""SINGLE"", | |
""nationality"": ""INDIAN"", | |
""father_name"": ""jhcjy"", | |
""corporate_id"": ""2"", | |
""name"": ""Test Two"", | |
""salutation"": ""DR"", | |
""education_value"": null, | |
""salutation_value"": ""Dr"" | |
} | |
} </s>" | |
"<s>[INST] createOrUpdateCorporate This endpoint creates or updates a Office. | |
[/INST] { | |
""corporate_details"": { | |
""code"": ""Child_corp00012"", | |
""name"": ""qerwwe"", | |
""tax_identification_number"": """", | |
""trade_license_number"": """", | |
""business_registration_number"": """", | |
""logo_document_code"": """", | |
""age_of_business"": """", | |
""annual_turnover"": """", | |
""trade_license_expiry_date"": """", | |
""business_type"": ""PROPRIETORSHIP"", | |
""classification"": ""SMALL"", | |
""trade_license_issuing_authority"": """", | |
""business_registration_authority"": """", | |
""business_registration_country"": """", | |
""parent_id"": ""169"", | |
""base_office_id"": ""1"", | |
""nature_of_business"": """" | |
}, | |
""employee_basic_details"": { | |
""image_document_id"": """", | |
""first_name"": ""qwqqwq"", | |
""middle_name"": """", | |
""last_name"": ""ewewe"", | |
""date_of_birth"": """", | |
""salutation"": ""DR"", | |
""gender"": ""MALE"" | |
}, | |
""employment_details"": { | |
""employee_id"": ""qrwerqwet"", | |
""employment_start_date"": """", | |
""employment_type"": """", | |
""department"": """", | |
""designation"": """" | |
}, | |
""employee_contact_details"": { | |
""mobile_country_code"": ""555"", | |
""mobile_number"": ""5656578788"", | |
""alternate_contact_country_code"": """", | |
""alternate_contact_number"": """", | |
""primary_email"": ""qweerrer@g.com"" | |
}, | |
""notes"": """", | |
""attachments"": [], | |
""corporate_address_details"": [ | |
{ | |
""pincode"": ""767676"", | |
""DISTRICT"": ""Bengaluru"", | |
""VTC"": ""Bellandur"", | |
""COUNTRY"": ""India"", | |
""SUB-DISTRICT"": ""Bengaluru"", | |
""address_line_1"": ""eweqwwe"", | |
""STATE"": ""Karnataka"", | |
""contact_details"": { | |
""primary_email"": ""werrerttrt@g.com"", | |
""mobile_number"": ""7667678677"", | |
""mobile_country_code"": ""676"" | |
}, | |
""type"": ""OFFICE"", | |
""type_value"": ""Office"", | |
""geo_hierarchy_element_id"": ""5"" | |
} | |
], | |
""corporate_document_details"": [], | |
""partner_details"": [ | |
{ | |
""partner_personal_details"": { | |
""first_name"": ""qwqqwq"", | |
""middle_name"": """", | |
""last_name"": ""ewewe"", | |
""image_document_id"": """", | |
""salutation"": ""DR"", | |
""country_of_birth"": ""IN"", | |
""nationality"": ""INDIAN"", | |
""country_of_residence"": ""IN"", | |
""relationship_with_entity"": """", | |
""preferred_language"": """", | |
""gender"": ""MALE"", | |
""residential_status"": ""RESIDENT"", | |
""date_of_birth"": """" | |
}, | |
""partner_contact_details"": { | |
""mobile_country_code"": ""555"", | |
""mobile_number"": ""5656578788"", | |
""alternate_contact_country_code"": """", | |
""alternate_contact_number"": """", | |
""fax_country_code"": """", | |
""fax"": """", | |
""primary_email"": ""qweerrer@g.com"" | |
}, | |
""partner_address_details"": [ | |
{ | |
""pincode"": ""767667"", | |
""DISTRICT"": ""Bengaluru"", | |
""VTC"": ""Bellandur"", | |
""COUNTRY"": ""India"", | |
""SUB-DISTRICT"": ""Bengaluru"", | |
""address_line_1"": ""qwqwqwqw"", | |
""STATE"": ""Karnataka"", | |
""contact_details"": {}, | |
""type"": ""CORRESPONDENCE"", | |
""type_value"": ""Correspondence"", | |
""geo_hierarchy_element_id"": ""5"" | |
} | |
], | |
""partner_document_details"": [] | |
} | |
], | |
""corporate_account_details"": [ | |
{ | |
""product_scheme_id"": ""80"", | |
""account_number"": """", | |
""purpose"": [ | |
{ | |
""code"": ""TXN_ACCT"", | |
""value"": ""Transaction Account"" | |
} | |
], | |
""product_type_value"": ""Savings"", | |
""external_account_number"": """", | |
""currency_value"": ""INR"", | |
""type"": ""INT"", | |
""product_code"": ""SACC01"", | |
""product_name"": ""Acc for int and ext charges"", | |
""scheme_name"": ""Scheme"", | |
""desired_action_value"": ""CREATE-NEW-ACCOUNT"", | |
""product_type"": ""SAVINGS"", | |
""product_id"": ""52"", | |
""scheme_code"": ""SCHE002"", | |
""currency"": ""INR"", | |
""new_account"": ""true"" | |
}, | |
{ | |
""routing_value"": ""IDFB0000001"", | |
""purpose"": [ | |
{ | |
""code"": ""STL_ACCT"", | |
""value"": ""Settlement Account"" | |
}, | |
{ | |
""code"": ""COMM_ACCT"", | |
""value"": ""Commission Account"" | |
} | |
], | |
""account_holder_name"": ""qwerq"", | |
""routing_type"": ""ROUT_TYP_IFSC"", | |
""routing_type_value"": ""IFSC"", | |
""branch_name"": ""HEAD OFFICE"", | |
""bank_name"": ""IDFC BANK LIMITED"", | |
""external_account_number"": ""123456"", | |
""external_account_type"": ""SAVINGS"", | |
""external_account_type_value"": ""Savings"", | |
""type"": ""EXT"", | |
""new_account"": ""true"" | |
} | |
], | |
""employee_address_details"": [ | |
{ | |
""pincode"": ""767667"", | |
""DISTRICT"": ""Bengaluru"", | |
""VTC"": ""Bellandur"", | |
""COUNTRY"": ""India"", | |
""SUB-DISTRICT"": ""Bengaluru"", | |
""address_line_1"": ""qwqwqwqw"", | |
""STATE"": ""Karnataka"", | |
""contact_details"": {}, | |
""type"": ""CORRESPONDENCE"", | |
""type_value"": ""Correspondence"", | |
""geo_hierarchy_element_id"": ""5"" | |
} | |
], | |
""employee_document_details"": [], | |
""employee_user_details"": { | |
""handle_details"": [ | |
{ | |
""handle_type"": ""USERNAME"", | |
""handle_value"": ""qweerrer@g.com"" | |
} | |
] | |
}, | |
""role_details"": { | |
""id"": ""191"", | |
""code"": ""CorpParent1"", | |
""name"": ""CorpTenant"", | |
""permission_code_list"": [ | |
""GENL-LEDG-CRET"", | |
""PROD-SCHM-UPDT-APPR"" | |
], | |
""permissions_changed"": ""true"" | |
}, | |
""employee_partner_mode_activation_details"": { | |
""create_mode"": ""SAME_AS_CORPORATE"", | |
""selected_partner_index"": """" | |
} | |
} { | |
""id"": ""1"", | |
""virtual_account_list"": [], | |
""response_status"": { | |
""code"": ""40015"", | |
""message"": ""Corporate (CORPC001) - Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getCorporateList This endpoint is used to fetch list and search of Price Codes. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""search_criteria"": {}, | |
""sort_criteria"": {}, | |
""page_size"": ""10"", | |
""offset"": ""0"" | |
} | |
} { | |
""corporate_list"": [ | |
{ | |
""corporate_details"": { | |
""parent_corporate_name"": ""Tenant"", | |
""code"": ""TENANT"", | |
""corporate_status"": ""ACTIVE"", | |
""name"": ""Tenant"", | |
""parent_corporate_code"": ""TENANT"", | |
""id"": ""2"", | |
""corporate_status_value"": null | |
} | |
} | |
], | |
""offset"": 0, | |
""response_status"": { | |
""code"": ""40046"", | |
""message"": ""Corporate List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""number_of_records"": 28, | |
""page_size"": 1000 | |
} </s>" | |
"<s>[INST] getCorporateDetails This endpoint is used to fetch details of Office. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""7"" | |
} | |
} { | |
""role_details"": { | |
""permission_code_list"": [ | |
""GENL-LEDG-CRET"", | |
""GENL-LEDG-VIEW"", | |
""GENL-LEDG-UPDT"", | |
""GENL-LEDG-DELE"", | |
""GENL-LEDG-CRET-APPR"", | |
""GENL-LEDG-UPDT-APPR"", | |
""GENL-LEDG-DELE-APPR"", | |
""OFFC-CRET"", | |
""OFFC-VIEW"", | |
""OFFC-UPDT"", | |
""OFFC-DELE"", | |
""OFFC-CRET-APPR"", | |
""OFFC-UPDT-APPR"", | |
""OFFC-DELE-APPR"", | |
""ROLE-CRET"", | |
""ROLE-VIEW"", | |
""ROLE-UPDT"", | |
""ROLE-DELE"", | |
""ROLE-CRET-APPR"", | |
""ROLE-UPDT-APPR"", | |
""ROLE-DELE-APPR"", | |
""EMPL-CRET"", | |
""EMPL-VIEW"", | |
""EMPL-UPDT"", | |
""EMPL-CRET-APPR"", | |
""EMPL-UPDT-APPR"", | |
""INTL-ACCT-DEFN-CRET"", | |
""INTL-ACCT-DEFN-VIEW"", | |
""INTL-ACCT-DEFN-UPDT"", | |
""INTL-ACCT-DEFN-DELE"", | |
""INTL-ACCT-DEFN-CRET-APPR"", | |
""INTL-ACCT-DEFN-UPDT-APPR"", | |
""INTL-ACCT-DEFN-DELE-APPR"", | |
""TAX-COMP-CRET"", | |
""TAX-COMP-VIEW"", | |
""TAX-COMP-UPDT"", | |
""TAX-COMP-DELE"", | |
""TAX-COMP-CRET-APPR"", | |
""TAX-COMP-UPDT-APPR"", | |
""TAX-COMP-DELE-APPR"", | |
""TAX-GRUP-CRET"", | |
""TAX-GRUP-VIEW"", | |
""TAX-GRUP-UPDT"", | |
""TAX-GRUP-DELE"", | |
""TAX-GRUP-CRET-APPR"", | |
""TAX-GRUP-UPDT-APPR"", | |
""TAX-GRUP-DELE-APPR"", | |
""INTL-ACCT-CRET"", | |
""INTL-ACCT-VIEW"", | |
""INTL-ACCT-UPDT"", | |
""INTL-ACCT-DELE"", | |
""INTL-ACCT-CRET-APPR"", | |
""INTL-ACCT-UPDT-APPR"", | |
""INTL-ACCT-DELE-APPR"", | |
""PRIC-CODE-CRET"", | |
""PRIC-CODE-VIEW"", | |
""PRIC-CODE-UPDT"", | |
""PRIC-CODE-DELE"", | |
""PRIC-CODE-CRET-APPR"", | |
""PRIC-CODE-UPDT-APPR"", | |
""PRIC-CODE-DELE-APPR"", | |
""PRIC-SETP-CRET"", | |
""PRIC-SETP-VIEW"", | |
""PRIC-SETP-UPDT"", | |
""PRIC-SETP-DELE"", | |
""PRIC-SETP-CRET-APPR"", | |
""PRIC-SETP-UPDT-APPR"", | |
""PRIC-SETP-DELE-APPR"", | |
""PLCH-MAST-CRET"", | |
""PLCH-MAST-VIEW"", | |
""PLCH-MAST-UPDT"", | |
""PLCH-MAST-DELE"", | |
""PLCH-MAST-CRET-APPR"", | |
""PLCH-MAST-UPDT-APPR"", | |
""PLCH-MAST-DELE-APPR"", | |
""BASE-RATE-CRET"", | |
""BASE-RATE-VIEW"", | |
""BASE-RATE-UPDT"", | |
""BASE-RATE-DELE"", | |
""BASE-RATE-CRET-APPR"", | |
""BASE-RATE-UPDT-APPR"", | |
""BASE-RATE-DELE-APPR"", | |
""CODE-MAST-CRET"", | |
""CODE-MAST-VIEW"", | |
""CODE-MAST-UPDT"", | |
""CODE-MAST-DELE"", | |
""CODE-MAST-CRET-APPR"", | |
""CODE-MAST-UPDT-APPR"", | |
""CODE-MAST-DELE-APPR"", | |
""INTR-SETP-CRET"", | |
""INTR-SETP-VIEW"", | |
""INTR-SETP-UPDT"", | |
""INTR-SETP-DELE"", | |
""INTR-SETP-CRET-APPR"", | |
""INTR-SETP-UPDT-APPR"", | |
""INTR-SETP-DELE-APPR"", | |
""PROD-LOAN-CRET"", | |
""PROD-LOAN-VIEW"", | |
""PROD-LOAN-UPDT"", | |
""PROD-LOAN-CRET-APPR"", | |
""PROD-LOAN-UPDT-APPR"", | |
""ASST-CLFN-CRET"", | |
""ASST-CLFN-VIEW"", | |
""ASST-CLFN-UPDT"", | |
""ASST-CLFN-DELE"", | |
""ASST-CLFN-CRET-APPR"", | |
""ASST-CLFN-UPDT-APPR"", | |
""ASST-CLFN-DELE-APPR"", | |
""CONF-MGMT-CRET"", | |
""CONF-MGMT-VIEW"", | |
""CONF-MGMT-UPDT"", | |
""CONF-MGMT-CRET-APPR"", | |
""CONF-MGMT-UPDT-APPR"", | |
""CUST-ONBD-CRET"", | |
""CUST-ONBD-VIEW"", | |
""CUST-ONBD-UPDT"", | |
""CUST-ONBD-CRET-APPR"", | |
""CUST-ONBD-UPDT-APPR"", | |
""PROD-SAVG-ACCT-CRET"", | |
""PROD-SAVG-ACCT-VIEW"", | |
""PROD-SAVG-ACCT-UPDT"", | |
""PROD-SAVG-ACCT-CRET-APPR"", | |
""PROD-SAVG-ACCT-UPDT-APPR"", | |
""TXNS-LMTS-CRET"", | |
""TXNS-LMTS-VIEW"", | |
""TXNS-LMTS-UPDT"", | |
""TXNS-LMTS-CRET-APPR"", | |
""TXNS-LMTS-UPDT-APPR"", | |
""PROD-SCHM-CRET"", | |
""PROD-SCHM-VIEW"", | |
""PROD-SCHM-UPDT"", | |
""PROD-SCHM-CRET-APPR"", | |
""PROD-SCHM-UPDT-APPR"", | |
""CORP-CRET"", | |
""CORP-VIEW"", | |
""CORP-UPDT"", | |
""CORP-CRET-APPR"", | |
""CORP-UPDT-APPR"", | |
""INVT-ITEM-CRET"", | |
""INVT-ITEM-VIEW"", | |
""INVT-ITEM-UPDT"", | |
""INVT-ITEM-CRET-APPR"", | |
""INVT-ITEM-DELE"", | |
""INVT-ITEM-DELE-APPR"", | |
""INVT-ITEM-UPDT-APPR"", | |
""AGNT-ONBD-CRET"", | |
""AGNT-ONBD-VIEW"", | |
""AGNT-ONBD-UPDT"", | |
""AGNT-ONBD-CRET-APPR"", | |
""AGNT-ONBD-UPDT-APPR"", | |
""AGNT-EMPL-CRET"", | |
""AGNT-EMPL-VIEW"", | |
""AGNT-EMPL-UPDT"", | |
""AGNT-EMPL-CRET-APPR"", | |
""AGNT-EMPL-UPDT-APPR"", | |
""AGNT-CUST-ACCT"" | |
], | |
""code"": ""KLKLKL"", | |
""name"": ""KLKLKL"", | |
""parent_role_id"": ""1"", | |
""id"": ""6"", | |
""is_implicit"": ""false"" | |
}, | |
""response_status"": { | |
""code"": ""40047"", | |
""message"": ""Corporate Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""corporate_details"": { | |
""code"": ""CORP1305"", | |
""status_value"": ""Deactivated"", | |
""status_change_reason_value"": ""Deceased"", | |
""external_id"": null, | |
""business_registration_authority_value"": null, | |
""trade_license_issuing_authority_value"": null, | |
""business_registration_number"": null, | |
""business_type_value"": ""Proprietorship"", | |
""vat_registration_number_or_bin"": null, | |
""base_office_id"": ""1"", | |
""nature_of_business"": null, | |
""role_id"": ""6"", | |
""base_office_name"": ""Zonal Head Office"", | |
""business_type"": ""PROPRIETORSHIP"", | |
""trade_license_issuing_authority"": null, | |
""parent_corporate_code"": ""TENANT"", | |
""id"": ""87"", | |
""authorised_signatory"": null, | |
""age_of_business"": null, | |
""business_registration_authority"": null, | |
""formatted_id"": null, | |
""classification_value"": ""Small"", | |
""nature_of_business_value"": null, | |
""business_registration_country_value"": null, | |
""classification"": ""SMALL"", | |
""parent_corporate_name"": ""Tenant"", | |
""logo_document_code"": null, | |
""business_registration_country"": null, | |
""base_office_code"": ""OFC001"", | |
""annual_turnover"": null, | |
""trade_license_number"": null, | |
""parent_id"": ""2"", | |
""status_change_reason"": ""DECEASED"", | |
""name"": ""Indian Startup corp"", | |
""trade_license_expiry_date"": null, | |
""is_initial_funding_mandatory"": null, | |
""tax_identification_number"": null, | |
""status"": ""DEACTIVATED"" | |
}, | |
""corporate_address_details"": [ | |
{ | |
""pincode"": ""576747"", | |
""city"": ""Bellandur"", | |
""locality"": null, | |
""contact_details"": { | |
""contact_name"": null, | |
""alternate_contact_number"": null, | |
""fax_country_code"": null, | |
""primary_email"": ""vhgchgcg@gmail.com"", | |
""landline"": null, | |
""contact_id"": ""419"", | |
""mobile_number"": ""6765764764"", | |
""mobile_country_code"": ""91"", | |
""alternate_contact_country_code"": null, | |
""fax"": null, | |
""alternate_email"": null, | |
""landline_country_code"": null | |
}, | |
""type"": ""OFFICE"", | |
""type_value"": ""Office"", | |
""address_line_1"": ""jhftdut"", | |
""geocoded_lat_long"": ""12.9136718,77.64823210000002"", | |
""id"": ""352"", | |
""address_line_2"": null, | |
""state"": ""Bengaluru"", | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""16"" | |
} | |
], | |
""corporate_account_details"": [ | |
{ | |
""product_scheme_id"": ""48"", | |
""account_number"": ""0000000052"", | |
""purpose"": [ | |
{ | |
""code"": ""TXN_ACCT"", | |
""value"": ""Transaction Account"" | |
} | |
], | |
""account_holder_name"": null, | |
""routing_type"": """", | |
""same_as_parent"": ""false"", | |
""product_type_value"": ""Savings"", | |
""external_account_number"": ""0000000000000012"", | |
""currency_value"": ""INR"", | |
""external_account_type"": null, | |
""type"": ""INT"", | |
""product_code"": ""SB001"", | |
""type_value"": ""In-house Accounts"", | |
""product_name"": ""Customer Savings Account"", | |
""scheme_name"": ""Agent Scheme"", | |
""office_id"": ""1"", | |
""routing_value"": """", | |
""product_type"": ""SAVINGS"", | |
""routing_type_value"": """", | |
""product_id"": ""166"", | |
""scheme_code"": ""SCH01"", | |
""currency"": ""INR"", | |
""id"": ""124"", | |
""external_account_type_value"": """" | |
}, | |
{ | |
""product_scheme_id"": """", | |
""account_number"": """", | |
""purpose"": [ | |
{ | |
""code"": ""STL_ACCT"", | |
""value"": ""Settlement Account"" | |
}, | |
{ | |
""code"": ""COMM_ACCT"", | |
""value"": ""Commission Account"" | |
} | |
], | |
""account_holder_name"": ""hjfhtd"", | |
""routing_type"": ""ROUT_TYP_IFSC"", | |
""type"": ""EXT"", | |
""product_code"": """", | |
""office_id"": """", | |
""routing_value"": ""MCBL0960013"", | |
""routing_type_value"": ""IFSC"", | |
""product_id"": """", | |
""scheme_code"": """", | |
""branch_name"": ""AIROLI"", | |
""bank_name"": "" GS Mahanagar Co-operative Bank Limited, Mumbai "", | |
""currency"": """", | |
""id"": ""125"", | |
""external_account_type_value"": ""Savings"", | |
""same_as_parent"": ""false"", | |
""product_type_value"": """", | |
""external_account_number"": ""123456"", | |
""currency_value"": """", | |
""external_account_type"": ""SAVINGS"", | |
""type_value"": ""External Bank Accounts"", | |
""product_name"": """", | |
""scheme_name"": """", | |
""product_type"": """" | |
} | |
], | |
""attributes"": null, | |
""partner_details"": [ | |
{ | |
""partner_document_details"": [], | |
""partner_contact_details"": { | |
""contact_name"": null, | |
""alternate_contact_number"": """", | |
""fax_country_code"": """", | |
""primary_email"": ""mhvjfuf@gmail.com"", | |
""landline"": null, | |
""contact_id"": ""420"", | |
""mobile_number"": ""6574546536"", | |
""mobile_country_code"": ""91"", | |
""alternate_contact_country_code"": """", | |
""fax"": """", | |
""alternate_email"": null, | |
""landline_country_code"": null | |
}, | |
""partner_address_details"": [ | |
{ | |
""pincode"": ""567545"", | |
""city"": ""Bellandur"", | |
""locality"": null, | |
""contact_details"": {}, | |
""type"": ""CORRESPONDENCE"", | |
""type_value"": ""Correspondence"", | |
""address_line_1"": ""jhchgc"", | |
""geocoded_lat_long"": ""12.920553900000002,77.67047920000002"", | |
""id"": ""353"", | |
""address_line_2"": """", | |
""state"": ""Bengaluru"", | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""16"" | |
} | |
], | |
""id"": ""104"", | |
""partner_personal_details"": { | |
""occupation"": null, | |
""image_document_id"": """", | |
""country_of_residence_value"": ""India"", | |
""gender"": ""MALE"", | |
""country_of_residence"": ""IN"", | |
""relationship_with_entity_value"": null, | |
""relationship_with_entity"": """", | |
""last_name"": ""chtcty"", | |
""residential_status_value"": ""Resident"", | |
""middle_name"": """", | |
""country_of_birth_value"": ""India"", | |
""occupation_value"": null, | |
""nationality_value"": ""Indian"", | |
""nationality"": ""INDIAN"", | |
""is_authorized_signatory"": ""false"", | |
""gender_value"": ""Male"", | |
""residential_status"": ""RESIDENT"", | |
""country_of_birth"": ""IN"", | |
""salutation"": ""DR"", | |
""first_name"": ""cdhtxyty"", | |
""salutation_value"": ""Dr"" | |
} | |
} | |
], | |
""corporate_document_details"": [], | |
""product_details"": null | |
} </s>" | |
"<s>[INST] updateCorporateStatus This endpoint is used to fetch list and search of Price Codes. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""1"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1578041873823"", | |
""operation_mode"": ""ASSISTED"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""UNBLOCK"" | |
}, | |
""request"": { | |
""id"": ""2"", | |
""status_update_reason"": ""FRAUD_CHECK_PASSED"", | |
""application_id"": """" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40161"", | |
""message"": ""CORP (CORP002) - Block has been approved"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] createOrUpdateAgent This endpoint creates or updates a corporate. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""1"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1578041873823"", | |
""operation_mode"": ""ASSISTED"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"" | |
}, | |
""request"": { | |
""agent_details"": { | |
""code"": ""AGENN001"", | |
""name"": ""Indian Oil"", | |
""tax_identification_number"": null, | |
""trade_license_number"": null, | |
""business_registration_number"": null, | |
""age_of_business"": null, | |
""annual_turnover"": null, | |
""shop_photo_document_code"": null, | |
""trade_license_expiry_date"": null, | |
""type"": ""AGENT"", | |
""business_type"": ""PROPRIETORSHIP"", | |
""classification"": ""MEDIUM"", | |
""trade_license_issuing_authority"": ""OGA"", | |
""business_registration_authority"": null, | |
""business_registration_country"": null, | |
""parent_id"": ""2"", | |
""base_office_id"": ""1"", | |
""nature_of_business"": null, | |
""id"": ""133"" | |
}, | |
""employee_basic_details"": { | |
""first_name"": """", | |
""last_name"": """", | |
""middle_name"": """", | |
""image_document_id"": """", | |
""date_of_birth"": """", | |
""salutation"": """", | |
""gender"": """" | |
}, | |
""employee_contact_details"": { | |
""primary_email"": """", | |
""mobile_number"": """", | |
""mobile_country_code"": """", | |
""alternate_contact_number"": """", | |
""alternate_contact_country_code"": """" | |
}, | |
""employee_partner_mode_activation_details"": { | |
""selected_partner_index"": """", | |
""create_mode"": ""CREATE_NEW"" | |
}, | |
""agent_address_details"": [ | |
{ | |
""pincode"": ""978978"", | |
""city"": ""Bellandur"", | |
""locality"": null, | |
""contact_details"": { | |
""contact_name"": null, | |
""alternate_contact_number"": null, | |
""fax_country_code"": null, | |
""primary_email"": ""jhgjhg@hgdh.com"", | |
""landline"": null, | |
""contact_id"": ""662"", | |
""mobile_number"": ""9897987987"", | |
""mobile_country_code"": ""878"", | |
""alternate_contact_country_code"": null, | |
""fax"": null, | |
""alternate_email"": null, | |
""landline_country_code"": null | |
}, | |
""type"": ""OFFICE"", | |
""type_value"": ""Office"", | |
""address_line_1"": ""sdfdsfds"", | |
""geocoded_lat_long"": ""12.8889561,77.65128109999999"", | |
""id"": ""651"", | |
""address_line_2"": ""fdsfsdfsd"", | |
""state"": ""Bengaluru"", | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""5"", | |
""COUNTRY"": ""India"", | |
""STATE"": ""Karnataka"", | |
""DISTRICT"": ""Bengaluru"", | |
""SUB-DISTRICT"": ""Bengaluru"", | |
""VTC"": ""Bellandur"" | |
} | |
], | |
""agent_document_details"": [], | |
""partner_details"": [ | |
{ | |
""partner_personal_details"": { | |
""first_name"": ""Navneet"", | |
""last_name"": ""Singh"", | |
""middle_name"": """", | |
""image_document_id"": """", | |
""salutation"": ""DR"", | |
""nationality"": """", | |
""country_of_birth"": """", | |
""country_of_residence"": """", | |
""relationship_with_entity"": """", | |
""preferred_language"": """", | |
""preferred_usage_mode"": """", | |
""residential_status"": """", | |
""gender"": ""MALE"", | |
""is_authorized_signatory"": ""NO"", | |
""date_of_birth"": ""1015439400000"" | |
}, | |
""partner_contact_details"": { | |
""primary_email"": ""navneetsingh3112@gmail.com"", | |
""mobile_number"": ""8867156570"", | |
""mobile_country_code"": ""+90"", | |
""alternate_contact_number"": """", | |
""alternate_contact_country_code"": """", | |
""landline"": """", | |
""landline_country_code"": """", | |
""fax"": """", | |
""fax_country_code"": """" | |
}, | |
""partner_address_details"": [ | |
{ | |
""pincode"": ""987987"", | |
""city"": ""Bellandur"", | |
""locality"": null, | |
""contact_details"": {}, | |
""type"": ""CORRESPONDENCE"", | |
""type_value"": ""Correspondence"", | |
""address_line_1"": ""sadasd"", | |
""geocoded_lat_long"": ""12.8889561,77.65128109999999"", | |
""id"": ""652"", | |
""address_line_2"": ""asdasdasd"", | |
""state"": ""Bengaluru"", | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""5"", | |
""COUNTRY"": ""India"", | |
""STATE"": ""Karnataka"", | |
""DISTRICT"": ""Bengaluru"", | |
""SUB-DISTRICT"": ""Bengaluru"", | |
""VTC"": ""Bellandur"" | |
} | |
], | |
""partner_document_details"": [], | |
""id"": ""154"" | |
} | |
], | |
""agent_account_details"": [ | |
{ | |
""product_scheme_id"": ""80"", | |
""account_number"": ""0000000095"", | |
""purpose"": [ | |
{ | |
""code"": ""TXN_ACCT"", | |
""value"": ""Transaction Account"" | |
} | |
], | |
""account_holder_name"": null, | |
""routing_type"": """", | |
""same_as_parent"": ""false"", | |
""product_type_value"": ""Savings"", | |
""external_account_number"": ""6546745745674567"", | |
""currency_value"": ""INR"", | |
""external_account_type"": null, | |
""type"": ""INT"", | |
""product_code"": ""SACC01"", | |
""type_value"": ""In-house Accounts"", | |
""product_name"": ""Acc for int and ext charges"", | |
""scheme_name"": ""Scheme"", | |
""office_id"": ""1"", | |
""routing_value"": """", | |
""product_type"": ""SAVINGS"", | |
""routing_type_value"": """", | |
""product_id"": ""52"", | |
""scheme_code"": ""SCHE002"", | |
""currency"": ""INR"", | |
""id"": ""179"", | |
""external_account_type_value"": """" | |
}, | |
{ | |
""product_scheme_id"": """", | |
""account_number"": """", | |
""purpose"": [ | |
{ | |
""code"": ""STL_ACCT"", | |
""value"": ""Settlement Account"" | |
}, | |
{ | |
""code"": ""COMM_ACCT"", | |
""value"": ""Commission Account"" | |
} | |
], | |
""account_holder_name"": ""JOE"", | |
""routing_type"": ""ROUT_TYP_IFSC"", | |
""type"": ""EXT"", | |
""product_code"": """", | |
""office_id"": """", | |
""routing_value"": ""UTIB0000837"", | |
""routing_type_value"": ""IFSC"", | |
""product_id"": """", | |
""scheme_code"": """", | |
""branch_name"": ""ASHOKNAGAR, RANCHI"", | |
""bank_name"": ""AXIS BANK"", | |
""currency"": """", | |
""id"": ""180"", | |
""external_account_type_value"": ""Savings"", | |
""same_as_parent"": ""false"", | |
""product_type_value"": """", | |
""external_account_number"": ""123456"", | |
""currency_value"": """", | |
""external_account_type"": ""SAVINGS"", | |
""type_value"": ""External Bank Accounts"", | |
""product_name"": """", | |
""scheme_name"": """", | |
""product_type"": """" | |
} | |
], | |
""employee_address_details"": [], | |
""employee_document_details"": [], | |
""employee_user_details"": { | |
""handle_details"": [ | |
{ | |
""handle_type"": ""MSISDN"", | |
""handle_value"": ""9887766554"" | |
} | |
] | |
}, | |
""role_details"": { | |
""id"": ""8"", | |
""code"": ""Role01"", | |
""name"": ""Role01C"", | |
""permission_code_list"": [ | |
""GENL-LEDG-CRET-APPR"", | |
""GENL-LEDG-DELE-APPR"", | |
""GENL-LEDG-UPDT-APPR"", | |
""INTL-ACCT-CRET"", | |
""INTL-ACCT-CRET-APPR"", | |
""INTL-ACCT-DEFN-CRET"", | |
""INTL-ACCT-DEFN-CRET-APPR"", | |
""INTL-ACCT-DEFN-DELE"", | |
""INTL-ACCT-DEFN-DELE-APPR"", | |
""INTL-ACCT-DEFN-UPDT"", | |
""INTL-ACCT-DEFN-UPDT-APPR"", | |
""INTL-ACCT-DEFN-VIEW"", | |
""INTL-ACCT-DELE"", | |
""INTL-ACCT-DELE-APPR"", | |
""INTL-ACCT-UPDT"", | |
""INTL-ACCT-UPDT-APPR"", | |
""INTL-ACCT-VIEW"", | |
""PLCH-MAST-CRET"", | |
""PLCH-MAST-CRET-APPR"", | |
""PLCH-MAST-DELE"", | |
""PLCH-MAST-DELE-APPR"", | |
""PLCH-MAST-UPDT"", | |
""PLCH-MAST-UPDT-APPR"", | |
""PLCH-MAST-VIEW"" | |
], | |
""permissions_changed"": ""false"" | |
} | |
} | |
} | |
{ | |
""id"": ""1"", | |
""virtual_account_list"": [], | |
""response_status"": { | |
""code"": ""40015"", | |
""message"": ""Agent (AGNT003) - Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getAgentList This endpoint is used to fetch list and search of Price Codes. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""search_criteria"": {}, | |
""sort_criteria"": {}, | |
""page_size"": ""10"", | |
""offset"": ""0"" | |
} | |
} { | |
""offset"": 0, | |
""response_status"": { | |
""code"": ""40046"", | |
""message"": ""Agent List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""agent_list"": [ | |
{ | |
""agent_details"": { | |
""parent_corporate_name"": ""dsafsadfsad"", | |
""code"": ""RAJINI"", | |
""agent_status"": ""ACTIVE"", | |
""name"": ""Agent Rajinikant"", | |
""parent_corporate_code"": ""Working"", | |
""id"": ""19"", | |
""agent_status_value"": ""Active"" | |
} | |
} | |
], | |
""number_of_records"": 39, | |
""page_size"": 10 | |
} </s>" | |
"<s>[INST] getAgentDetails This endpoint is used to fetch details of Office. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""7"" | |
} | |
} { | |
""role_details"": { | |
""permission_code_list"": [ | |
""GENL-LEDG-CRET"", | |
""GENL-LEDG-VIEW"", | |
""GENL-LEDG-UPDT"", | |
""GENL-LEDG-DELE"", | |
""GENL-LEDG-CRET-APPR"", | |
""GENL-LEDG-UPDT-APPR"", | |
""GENL-LEDG-DELE-APPR"", | |
""INTL-ACCT-DEFN-CRET"", | |
""INTL-ACCT-DEFN-VIEW"", | |
""INTL-ACCT-DEFN-UPDT"", | |
""INTL-ACCT-DEFN-DELE"", | |
""INTL-ACCT-DEFN-CRET-APPR"", | |
""INTL-ACCT-DEFN-UPDT-APPR"", | |
""INTL-ACCT-DEFN-DELE-APPR"" | |
], | |
""code"": ""rrrr"", | |
""name"": ""ttt"", | |
""parent_role_id"": null, | |
""id"": ""16"", | |
""is_implicit"": ""false"" | |
}, | |
""base_office_address_details"": [], | |
""response_status"": { | |
""code"": ""40047"", | |
""message"": ""Agent Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""attributes"": null, | |
""agent_details"": { | |
""parent_corporate_id"": ""2"", | |
""code"": ""AGNT2301"", | |
""status_value"": ""Active"", | |
""status_change_reason_value"": null, | |
""type"": ""AGENT"", | |
""business_registration_authority_value"": null, | |
""parent_agent_name"": """", | |
""trade_license_issuing_authority_value"": null, | |
""business_registration_number"": null, | |
""business_type_value"": ""Proprietorship"", | |
""base_office_id"": ""1"", | |
""nature_of_business"": null, | |
""base_office_name"": ""Zonal Head Office"", | |
""business_type"": ""PROPRIETORSHIP"", | |
""trade_license_issuing_authority"": null, | |
""parent_corporate_code"": ""TENANT"", | |
""id"": ""67"", | |
""age_of_business"": null, | |
""business_registration_authority"": null, | |
""classification_value"": ""Small"", | |
""nature_of_business_value"": null, | |
""business_registration_country_value"": null, | |
""classification"": ""SMALL"", | |
""type_value"": ""Agent"", | |
""parent_agent_code"": """", | |
""parent_corporate_name"": ""Tenant"", | |
""business_registration_country"": null, | |
""parent_agent_id"": """", | |
""base_office_code"": ""OFC001"", | |
""annual_turnover"": null, | |
""shop_photo_document_code"": null, | |
""trade_license_number"": null, | |
""parent_id"": ""2"", | |
""status_change_reason"": null, | |
""name"": ""Agent test"", | |
""trade_license_expiry_date"": null, | |
""tax_identification_number"": null, | |
""status"": ""ACTIVE"" | |
}, | |
""partner_details"": [ | |
{ | |
""partner_document_details"": [ | |
{ | |
""identifier"": ""BORPG4271F"", | |
""valid_until"": """", | |
""file_names"": [ | |
{ | |
""file_number"": ""1"", | |
""name"": ""image5.png"", | |
""id"": ""41"" | |
} | |
], | |
""purpose"": ""POI"", | |
""description"": """", | |
""id"": ""79"", | |
""document_code"": ""61b4f14a-ada0-4081-adbe-abe0291da533"", | |
""type"": ""PAN"", | |
""version"": ""1"", | |
""type_value"": ""PAN"", | |
""purpose_value"": ""Proof Of Identity"" | |
} | |
], | |
""partner_contact_details"": { | |
""contact_name"": null, | |
""alternate_contact_number"": """", | |
""fax_country_code"": """", | |
""primary_email"": ""yfytycyt@ghchc.com"", | |
""landline"": """", | |
""contact_id"": ""351"", | |
""mobile_number"": ""7986875764"", | |
""mobile_country_code"": ""91"", | |
""alternate_contact_country_code"": """", | |
""fax"": """", | |
""alternate_email"": null, | |
""landline_country_code"": """" | |
}, | |
""partner_address_details"": [ | |
{ | |
""pincode"": ""785674"", | |
""city"": ""Bellandur"", | |
""locality"": null, | |
""contact_details"": {}, | |
""type"": ""CORRESPONDENCE"", | |
""type_value"": ""Correspondence"", | |
""address_line_1"": ""uycytcyt"", | |
""geocoded_lat_long"": ""12.914076500000002,77.66505480000001"", | |
""id"": ""295"", | |
""address_line_2"": ""cytcyt"", | |
""state"": ""Bengaluru"", | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""16"" | |
} | |
], | |
""id"": ""84"", | |
""partner_personal_details"": { | |
""occupation"": null, | |
""image_document_id"": """", | |
""country_of_residence_value"": null, | |
""gender"": ""MALE"", | |
""country_of_residence"": """", | |
""relationship_with_entity_value"": null, | |
""date_of_birth"": ""852748200000"", | |
""relationship_with_entity"": """", | |
""last_name"": ""cuycytcg"", | |
""residential_status_value"": null, | |
""middle_name"": """", | |
""country_of_birth_value"": null, | |
""occupation_value"": null, | |
""nationality_value"": null, | |
""nationality"": """", | |
""is_authorized_signatory"": ""false"", | |
""gender_value"": ""Male"", | |
""residential_status"": """", | |
""country_of_birth"": """", | |
""salutation"": ""DR"", | |
""first_name"": ""tycxyt"", | |
""salutation_value"": ""Dr"" | |
} | |
} | |
], | |
""agent_account_details"": [ | |
{ | |
""product_scheme_id"": ""27"", | |
""account_number"": ""0000000032"", | |
""purpose"": [ | |
{ | |
""code"": ""TXN_ACCT"", | |
""value"": ""Transaction Account"" | |
} | |
], | |
""account_holder_name"": null, | |
""routing_type"": """", | |
""same_as_parent"": ""false"", | |
""product_type_value"": ""Savings"", | |
""external_account_number"": """", | |
""currency_value"": ""INR"", | |
""external_account_type"": null, | |
""type"": ""INT"", | |
""product_code"": ""test"", | |
""type_value"": ""In-house Accounts"", | |
""product_name"": ""testsadfassfsdf"", | |
""scheme_name"": ""CloneTestEdit"", | |
""office_id"": ""1"", | |
""routing_value"": """", | |
""product_type"": ""SAVINGS"", | |
""routing_type_value"": """", | |
""product_id"": ""148"", | |
""scheme_code"": ""CloneTest"", | |
""currency"": ""INR"", | |
""id"": ""76"", | |
""external_account_type_value"": """" | |
}, | |
{ | |
""product_scheme_id"": """", | |
""account_number"": """", | |
""purpose"": [ | |
{ | |
""code"": ""STL_ACCT"", | |
""value"": ""Settlement Account"" | |
}, | |
{ | |
""code"": ""COMM_ACCT"", | |
""value"": ""Commission Account"" | |
} | |
], | |
""account_holder_name"": ""yvfytcyt"", | |
""routing_type"": ""ROUT_TYP_IFSC"", | |
""type"": ""EXT"", | |
""product_code"": """", | |
""office_id"": """", | |
""routing_value"": ""ALLA0210870"", | |
""routing_type_value"": ""IFSC"", | |
""product_id"": """", | |
""scheme_code"": """", | |
""branch_name"": ""SALEM"", | |
""bank_name"": ""ALLAHABAD BANK"", | |
""currency"": """", | |
""id"": ""77"", | |
""external_account_type_value"": ""Savings"", | |
""same_as_parent"": ""false"", | |
""product_type_value"": """", | |
""external_account_number"": ""123456"", | |
""currency_value"": """", | |
""external_account_type"": ""SAVINGS"", | |
""type_value"": ""External Bank Accounts"", | |
""product_name"": """", | |
""scheme_name"": """", | |
""product_type"": """" | |
} | |
], | |
""product_details"": null, | |
""agent_document_details"": [], | |
""agent_address_details"": [ | |
{ | |
""pincode"": ""785764"", | |
""city"": ""Bellandur"", | |
""locality"": null, | |
""contact_details"": { | |
""contact_name"": null, | |
""alternate_contact_number"": null, | |
""fax_country_code"": null, | |
""primary_email"": ""sfytdty@ygcg.com"", | |
""landline"": null, | |
""contact_id"": ""350"", | |
""mobile_number"": ""8678476346"", | |
""mobile_country_code"": ""91"", | |
""alternate_contact_country_code"": null, | |
""fax"": null, | |
""alternate_email"": null, | |
""landline_country_code"": null | |
}, | |
""type"": ""OFFICE"", | |
""type_value"": ""Office"", | |
""address_line_1"": ""dytxt"", | |
""geocoded_lat_long"": ""12.914076500000002,77.66505480000001"", | |
""id"": ""294"", | |
""address_line_2"": ""dytdytdy"", | |
""state"": ""Bengaluru"", | |
""landmark"": null, | |
""geo_hierarchy_element_id"": ""16"" | |
} | |
] | |
} </s>" | |
"<s>[INST] updateAgentStatus This endpoint is used to fetch list and search of Price Codes. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""1"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1578041873823"", | |
""operation_mode"": ""ASSISTED"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""UNBLOCK"" | |
}, | |
""request"": { | |
""id"": ""2"", | |
""status_update_reason"": ""FRAUD_CHECK_PASSED"", | |
""application_id"": """" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40161"", | |
""message"": ""AGNT (AGNT003) - Block has been approved"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] createOrUpdateAgentEmployee This endpoint creates or updates a customer. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""6"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": "".k56y23lnl4k_1592316607570"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1592316607570"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"", | |
""locale"": ""en-in"" | |
}, | |
""request"": { | |
""employee_basic_details"": { | |
""first_name"": ""test"", | |
""middle_name"": """", | |
""last_name"": ""test"", | |
""image_document_id"": """", | |
""date_of_birth"": ""865449000000"", | |
""preferred_language"": ""en-in"", | |
""salutation"": ""MR"", | |
""gender"": ""MALE"" | |
}, | |
""employee_address_details"": [], | |
""employment_details"": { | |
""employee_id"": ""CORPEMPL-001"", | |
""external_reference_number"": ""12"", | |
""employment_start_date"": ""1592332200000"", | |
""employment_type"": ""PERM"", | |
""agent_id"": ""2"", | |
""department"": ""BUS"", | |
""designation"": ""SALES"" | |
}, | |
""employee_contact_details"": { | |
""mobile_country_code"": ""91"", | |
""mobile_number"": ""9547385388"", | |
""alternate_contact_country_code"": """", | |
""alternate_contact_number"": """", | |
""primary_email"": ""adada@asdas.in"" | |
}, | |
""employee_user_details"": { | |
""handle_details"": [ | |
{ | |
""handle_type"": ""USERNAME"", | |
""handle_value"": ""adada@asdas.in"" | |
} | |
] | |
}, | |
""employee_document_details"": [], | |
""role_details"": { | |
""id"": ""6"", | |
""code"": ""KLKLKL"", | |
""name"": ""KLKLKL"", | |
""permission_code_list"": [ | |
""AGNT-CUST-ACCT"", | |
""AGNT-EMPL-CRET"", | |
""AGNT-EMPL-CRET-APPR"" | |
], | |
""permissions_changed"": ""false"" | |
}, | |
""draft_id"": ""857"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40122"", | |
""message"": ""agent Employee (CORPEMPL-001) - Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getAgentEmployeeList This endpoint is used to fetch details of customer | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""7"" | |
} | |
} { | |
""role_details"": { | |
""permission_code_list"": [ | |
""GENL-LEDG-CRET"", | |
""GENL-LEDG-VIEW"" | |
], | |
""code"": ""KLKLKL"", | |
""name"": ""KLKLKL"", | |
""parent_role_id"": ""1"", | |
""id"": ""6"", | |
""is_implicit"": ""false"" | |
}, | |
""employee_contact_details"": { | |
""alternate_contact_number"": null, | |
""fax_country_code"": null, | |
""name"": null, | |
""primary_email"": ""asdad@assdadq.com"", | |
""id"": ""424"", | |
""landline"": null, | |
""mobile_number"": ""7657645701"", | |
""mobile_country_code"": ""91"", | |
""alternate_contact_country_code"": null, | |
""fax"": null, | |
""alternate_email"": null, | |
""landline_country_code"": null | |
}, | |
""response_status"": { | |
""code"": ""40133"", | |
""message"": ""agent Employee Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""employee_user_details"": { | |
""handle_details"": [ | |
{ | |
""handle_type"": ""USERNAME"", | |
""handle_value"": ""asdad@assdadq.com"" | |
} | |
], | |
""auth_details"": null, | |
""id"": ""173"" | |
}, | |
""employee_address_details"": [], | |
""employee_basic_details"": { | |
""image_document_id"": null, | |
""gender"": ""MALE"", | |
""date_of_birth"": """", | |
""status_value"": ""Active"", | |
""last_name"": ""asasdasd"", | |
""middle_name"": null, | |
""preferred_language_value"": ""Hindi"", | |
""gender_value"": ""Male"", | |
""id"": ""171"", | |
""salutation"": ""MR"", | |
""first_name"": ""asdsasd"", | |
""preferred_language"": ""hi"", | |
""salutation_value"": ""Mr"", | |
""status"": ""ACTIVE"" | |
}, | |
""employment_details"": { | |
""agent_code"": ""test_009"", | |
""external_reference_number"": null, | |
""employment_type"": null, | |
""department_value"": null, | |
""employment_start_date"": null, | |
""agent_id"": ""88"", | |
""employment_type_value"": null, | |
""employee_id"": ""EMP00T"", | |
""agent_name"": ""test"", | |
""designation"": null, | |
""department"": null, | |
""designation_value"": null | |
}, | |
""employee_document_details"": [] | |
} </s>" | |
"<s>[INST] getAgentEmployeeDetails This endpoint is used to fetch details of customer | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""7"" | |
} | |
} { | |
""role_details"": { | |
""permission_code_list"": [ | |
""GENL-LEDG-CRET"", | |
""GENL-LEDG-VIEW"" | |
], | |
""code"": ""KLKLKL"", | |
""name"": ""KLKLKL"", | |
""parent_role_id"": ""1"", | |
""id"": ""6"", | |
""is_implicit"": ""false"" | |
}, | |
""employee_contact_details"": { | |
""alternate_contact_number"": null, | |
""fax_country_code"": null, | |
""name"": null, | |
""primary_email"": ""asdad@assdadq.com"", | |
""id"": ""424"", | |
""landline"": null, | |
""mobile_number"": ""7657645701"", | |
""mobile_country_code"": ""91"", | |
""alternate_contact_country_code"": null, | |
""fax"": null, | |
""alternate_email"": null, | |
""landline_country_code"": null | |
}, | |
""response_status"": { | |
""code"": ""40133"", | |
""message"": ""agent Employee Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""employee_user_details"": { | |
""handle_details"": [ | |
{ | |
""handle_type"": ""USERNAME"", | |
""handle_value"": ""asdad@assdadq.com"" | |
} | |
], | |
""auth_details"": null, | |
""id"": ""173"" | |
}, | |
""employee_address_details"": [], | |
""employee_basic_details"": { | |
""image_document_id"": null, | |
""gender"": ""MALE"", | |
""date_of_birth"": """", | |
""status_value"": ""Active"", | |
""last_name"": ""asasdasd"", | |
""middle_name"": null, | |
""preferred_language_value"": ""Hindi"", | |
""gender_value"": ""Male"", | |
""id"": ""171"", | |
""salutation"": ""MR"", | |
""first_name"": ""asdsasd"", | |
""preferred_language"": ""hi"", | |
""salutation_value"": ""Mr"", | |
""status"": ""ACTIVE"" | |
}, | |
""employment_details"": { | |
""agent_code"": ""test_009"", | |
""external_reference_number"": null, | |
""employment_type"": null, | |
""department_value"": null, | |
""employment_start_date"": null, | |
""agent_id"": ""88"", | |
""employment_type_value"": null, | |
""employee_id"": ""EMP00T"", | |
""agent_name"": ""test"", | |
""designation"": null, | |
""department"": null, | |
""designation_value"": null | |
}, | |
""employee_document_details"": [] | |
} </s>" | |
"<s>[INST] createOrUpdateCorporateEmployee This endpoint creates or updates a customer. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""user_id"": ""6"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": "".k56y23lnl4k_1592316607570"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1592316607570"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"", | |
""locale"": ""en-in"" | |
}, | |
""request"": { | |
""employee_basic_details"": { | |
""first_name"": ""test"", | |
""middle_name"": """", | |
""last_name"": ""test"", | |
""image_document_id"": """", | |
""date_of_birth"": ""865449000000"", | |
""preferred_language"": ""en-in"", | |
""salutation"": ""MR"", | |
""gender"": ""MALE"" | |
}, | |
""employee_address_details"": [], | |
""employment_details"": { | |
""employee_id"": ""CORPEMPL-001"", | |
""external_reference_number"": ""12"", | |
""employment_start_date"": ""1592332200000"", | |
""employment_type"": ""PERM"", | |
""corporate_id"": ""2"", | |
""department"": ""BUS"", | |
""designation"": ""SALES"" | |
}, | |
""employee_contact_details"": { | |
""mobile_country_code"": ""91"", | |
""mobile_number"": ""9547385388"", | |
""alternate_contact_country_code"": """", | |
""alternate_contact_number"": """", | |
""primary_email"": ""adada@asdas.in"" | |
}, | |
""employee_user_details"": { | |
""handle_details"": [ | |
{ | |
""handle_type"": ""USERNAME"", | |
""handle_value"": ""adada@asdas.in"" | |
} | |
] | |
}, | |
""employee_document_details"": [], | |
""role_details"": { | |
""id"": ""6"", | |
""code"": ""KLKLKL"", | |
""name"": ""KLKLKL"", | |
""permission_code_list"": [ | |
""AGNT-CUST-ACCT"", | |
""AGNT-EMPL-CRET"", | |
""AGNT-EMPL-CRET-APPR"" | |
], | |
""permissions_changed"": ""false"" | |
}, | |
""draft_id"": ""857"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""40122"", | |
""message"": ""Corporate Employee (CORPEMPL-001) - Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getCorporateEmployeeList This endpoint is used to fetch list and search for customer | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""search_criteria"": {}, | |
""sort_criteria"": {}, | |
""page_size"": ""10"", | |
""offset"": ""0"" | |
} | |
} { | |
""corporate_employee_list"": [ | |
{ | |
""corporate_employee_details"": { | |
""corporate_code"": ""Working"", | |
""employee_id"": ""3452345234534253"", | |
""corporate_id"": ""5"", | |
""status_value"": ""Active"", | |
""name"": ""fghdfghdfgh dsfasdfdsf"", | |
""corporate_name"": ""dsafsadfsad"", | |
""id"": ""1"", | |
""status"": ""ACTIVE"" | |
} | |
} | |
], | |
""offset"": 0, | |
""response_status"": { | |
""code"": ""40132"", | |
""message"": ""Corporate Employee List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""number_of_records"": 35, | |
""page_size"": 10 | |
} </s>" | |
"<s>[INST] getCorporateEmployeeDetails This endpoint is used to fetch details of customer | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""12345"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""7"" | |
} | |
} { | |
""role_details"": { | |
""permission_code_list"": [ | |
""GENL-LEDG-CRET"", | |
""GENL-LEDG-VIEW"", | |
""GENL-LEDG-UPDT"", | |
""GENL-LEDG-DELE"", | |
""GENL-LEDG-CRET-APPR"", | |
""GENL-LEDG-UPDT-APPR"", | |
""GENL-LEDG-DELE-APPR"", | |
""OFFC-CRET"", | |
""OFFC-VIEW"", | |
""OFFC-UPDT"", | |
""OFFC-DELE"", | |
""OFFC-CRET-APPR"", | |
""OFFC-UPDT-APPR"", | |
""OFFC-DELE-APPR"", | |
""ROLE-CRET"", | |
""ROLE-VIEW"", | |
""ROLE-UPDT"", | |
""ROLE-DELE"", | |
""ROLE-CRET-APPR"", | |
""ROLE-UPDT-APPR"", | |
""ROLE-DELE-APPR"", | |
""EMPL-CRET"", | |
""EMPL-VIEW"", | |
""EMPL-UPDT"", | |
""EMPL-CRET-APPR"", | |
""EMPL-UPDT-APPR"", | |
""INTL-ACCT-DEFN-CRET"", | |
""INTL-ACCT-DEFN-VIEW"", | |
""INTL-ACCT-DEFN-UPDT"", | |
""INTL-ACCT-DEFN-DELE"", | |
""INTL-ACCT-DEFN-CRET-APPR"", | |
""INTL-ACCT-DEFN-UPDT-APPR"", | |
""INTL-ACCT-DEFN-DELE-APPR"", | |
""TAX-COMP-CRET"", | |
""TAX-COMP-VIEW"", | |
""TAX-COMP-UPDT"", | |
""TAX-COMP-DELE"", | |
""TAX-COMP-CRET-APPR"", | |
""TAX-COMP-UPDT-APPR"", | |
""TAX-COMP-DELE-APPR"", | |
""TAX-GRUP-CRET"", | |
""TAX-GRUP-VIEW"", | |
""TAX-GRUP-UPDT"", | |
""TAX-GRUP-DELE"", | |
""TAX-GRUP-CRET-APPR"", | |
""TAX-GRUP-UPDT-APPR"", | |
""TAX-GRUP-DELE-APPR"", | |
""INTL-ACCT-CRET"", | |
""INTL-ACCT-VIEW"", | |
""INTL-ACCT-UPDT"", | |
""INTL-ACCT-DELE"", | |
""INTL-ACCT-CRET-APPR"", | |
""INTL-ACCT-UPDT-APPR"", | |
""INTL-ACCT-DELE-APPR"", | |
""PRIC-CODE-CRET"", | |
""PRIC-CODE-VIEW"", | |
""PRIC-CODE-UPDT"", | |
""PRIC-CODE-DELE"", | |
""PRIC-CODE-CRET-APPR"", | |
""PRIC-CODE-UPDT-APPR"", | |
""PRIC-CODE-DELE-APPR"", | |
""PRIC-SETP-CRET"", | |
""PRIC-SETP-VIEW"", | |
""PRIC-SETP-UPDT"", | |
""PRIC-SETP-DELE"", | |
""PRIC-SETP-CRET-APPR"", | |
""PRIC-SETP-UPDT-APPR"", | |
""PRIC-SETP-DELE-APPR"", | |
""PLCH-MAST-CRET"", | |
""PLCH-MAST-VIEW"", | |
""PLCH-MAST-UPDT"", | |
""PLCH-MAST-DELE"", | |
""PLCH-MAST-CRET-APPR"", | |
""PLCH-MAST-UPDT-APPR"", | |
""PLCH-MAST-DELE-APPR"", | |
""BASE-RATE-CRET"", | |
""BASE-RATE-VIEW"", | |
""BASE-RATE-UPDT"", | |
""BASE-RATE-DELE"", | |
""BASE-RATE-CRET-APPR"", | |
""BASE-RATE-UPDT-APPR"", | |
""BASE-RATE-DELE-APPR"", | |
""CODE-MAST-CRET"", | |
""CODE-MAST-VIEW"", | |
""CODE-MAST-UPDT"", | |
""CODE-MAST-DELE"", | |
""CODE-MAST-CRET-APPR"", | |
""CODE-MAST-UPDT-APPR"", | |
""CODE-MAST-DELE-APPR"", | |
""INTR-SETP-CRET"", | |
""INTR-SETP-VIEW"", | |
""INTR-SETP-UPDT"", | |
""INTR-SETP-DELE"", | |
""INTR-SETP-CRET-APPR"", | |
""INTR-SETP-UPDT-APPR"", | |
""INTR-SETP-DELE-APPR"", | |
""PROD-LOAN-CRET"", | |
""PROD-LOAN-VIEW"", | |
""PROD-LOAN-UPDT"", | |
""PROD-LOAN-CRET-APPR"", | |
""PROD-LOAN-UPDT-APPR"", | |
""ASST-CLFN-CRET"", | |
""ASST-CLFN-VIEW"", | |
""ASST-CLFN-UPDT"", | |
""ASST-CLFN-DELE"", | |
""ASST-CLFN-CRET-APPR"", | |
""ASST-CLFN-UPDT-APPR"", | |
""ASST-CLFN-DELE-APPR"", | |
""CONF-MGMT-CRET"", | |
""CONF-MGMT-VIEW"", | |
""CONF-MGMT-UPDT"", | |
""CONF-MGMT-CRET-APPR"", | |
""CONF-MGMT-UPDT-APPR"", | |
""CUST-ONBD-CRET"", | |
""CUST-ONBD-VIEW"", | |
""CUST-ONBD-UPDT"", | |
""CUST-ONBD-CRET-APPR"", | |
""CUST-ONBD-UPDT-APPR"", | |
""PROD-SAVG-ACCT-CRET"", | |
""PROD-SAVG-ACCT-VIEW"", | |
""PROD-SAVG-ACCT-UPDT"", | |
""PROD-SAVG-ACCT-CRET-APPR"", | |
""PROD-SAVG-ACCT-UPDT-APPR"", | |
""TXNS-LMTS-CRET"", | |
""TXNS-LMTS-VIEW"", | |
""TXNS-LMTS-UPDT"", | |
""TXNS-LMTS-CRET-APPR"", | |
""TXNS-LMTS-UPDT-APPR"", | |
""PROD-SCHM-CRET"", | |
""PROD-SCHM-VIEW"", | |
""PROD-SCHM-UPDT"", | |
""PROD-SCHM-CRET-APPR"", | |
""PROD-SCHM-UPDT-APPR"", | |
""CORP-CRET"", | |
""CORP-VIEW"", | |
""CORP-UPDT"", | |
""CORP-CRET-APPR"", | |
""CORP-UPDT-APPR"", | |
""INVT-ITEM-CRET"", | |
""INVT-ITEM-VIEW"", | |
""INVT-ITEM-UPDT"", | |
""INVT-ITEM-CRET-APPR"", | |
""INVT-ITEM-DELE"", | |
""INVT-ITEM-DELE-APPR"", | |
""INVT-ITEM-UPDT-APPR"", | |
""AGNT-ONBD-CRET"", | |
""AGNT-ONBD-VIEW"", | |
""AGNT-ONBD-UPDT"", | |
""AGNT-ONBD-CRET-APPR"", | |
""AGNT-ONBD-UPDT-APPR"", | |
""AGNT-EMPL-CRET"", | |
""AGNT-EMPL-VIEW"", | |
""AGNT-EMPL-UPDT"", | |
""AGNT-EMPL-CRET-APPR"", | |
""AGNT-EMPL-UPDT-APPR"", | |
""AGNT-CUST-ACCT"" | |
], | |
""code"": ""KLKLKL"", | |
""name"": ""KLKLKL"", | |
""parent_role_id"": ""1"", | |
""id"": ""6"", | |
""is_implicit"": ""false"" | |
}, | |
""employee_contact_details"": { | |
""alternate_contact_number"": null, | |
""fax_country_code"": null, | |
""name"": null, | |
""primary_email"": ""asdad@assdadq.com"", | |
""id"": ""424"", | |
""landline"": null, | |
""mobile_number"": ""7657645701"", | |
""mobile_country_code"": ""91"", | |
""alternate_contact_country_code"": null, | |
""fax"": null, | |
""alternate_email"": null, | |
""landline_country_code"": null | |
}, | |
""response_status"": { | |
""code"": ""40133"", | |
""message"": ""Corporate Employee Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""employee_user_details"": { | |
""handle_details"": [ | |
{ | |
""handle_type"": ""USERNAME"", | |
""handle_value"": ""asdad@assdadq.com"" | |
} | |
], | |
""auth_details"": null, | |
""id"": ""173"" | |
}, | |
""employee_address_details"": [], | |
""employee_basic_details"": { | |
""image_document_id"": null, | |
""gender"": ""MALE"", | |
""date_of_birth"": """", | |
""status_value"": ""Active"", | |
""last_name"": ""asasdasd"", | |
""middle_name"": null, | |
""preferred_language_value"": ""Hindi"", | |
""gender_value"": ""Male"", | |
""id"": ""171"", | |
""salutation"": ""MR"", | |
""first_name"": ""asdsasd"", | |
""preferred_language"": ""hi"", | |
""salutation_value"": ""Mr"", | |
""status"": ""ACTIVE"" | |
}, | |
""employment_details"": { | |
""corporate_code"": ""test_009"", | |
""external_reference_number"": null, | |
""employment_type"": null, | |
""department_value"": null, | |
""employment_start_date"": null, | |
""corporate_id"": ""88"", | |
""employment_type_value"": null, | |
""employee_id"": ""EMP00T"", | |
""corporate_name"": ""test"", | |
""designation"": null, | |
""department"": null, | |
""designation_value"": null | |
}, | |
""employee_document_details"": [] | |
} </s>" | |
"<s>[INST] createOrUpdateDraftApplication | |
This endpoint creates or updates a draft application. | |
[/INST] { | |
""request"": { | |
""draft_application_details"": { | |
""usecase"": ""FIN-GLS-UC001"", | |
""data"": { | |
""general_ledger_details"": { | |
""code"": ""GL001"", | |
""name"": ""General Ledger One"", | |
""description"": ""General Ledger Description"", | |
""external_reference_number"": ""Ext001"", | |
""category"": ""GL_CAT001"", | |
""currency"": ""CCY001"", | |
""balance_type"": ""CR_BAL"", | |
""allowed_transaction_type"": ""CREDIT"" | |
} | |
} | |
} | |
}, | |
""headers"": { | |
""actor_type"": ""CUSTOMER"", | |
""operation_mode"": ""SELF"", | |
""channel_code"": ""NOVOPAY"", | |
""function_sub_code"": ""CREATE"", | |
""function_code"": ""DEFAULT"", | |
""end_channel_code"": ""AIG"", | |
""run_mode"": ""TRIAL"", | |
""stan"": ""1494307057"", | |
""user_handle_value"": ""9816923672"", | |
""client_ip"": ""127.0.0.1"", | |
""location"": ""44.968046,-94.420307"", | |
""user_handle_type"": ""MSISDN"", | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""transmission_datetime"": ""1488779072701"" | |
} | |
} { | |
""draft_application_id"": ""1"", | |
""response_status"": { | |
""code"": ""100001"", | |
""message"": ""Draft created succesfully"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] deleteDraftApplication | |
This endpoint deletes a given draft application. | |
[/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""CBS"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""REAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""USER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""draft_application_details"": { | |
""id"": ""1"" | |
} | |
} | |
} { | |
""response_status"": { | |
""code"": ""100001"", | |
""message"": ""Draft deleted succesfully"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getApplicationList | |
This endpoint gives list of application(s). | |
[/INST] { | |
""request"": { | |
""search_criteria"": { | |
""user_id"": ""1"", | |
""user_story_code_list"": [""GEN-LEDG""] | |
}, | |
""page_size"": ""10"", | |
""offset"": ""0"", | |
""sort_criteria"": {} | |
}, | |
""headers"": { | |
""actor_type"": ""CUSTOMER"", | |
""operation_mode"": ""SELF"", | |
""channel_code"": ""NOVOPAY"", | |
""function_sub_code"": ""APPROVAL"", | |
""function_code"": ""APPLICATION"", | |
""end_channel_code"": ""CBS"", | |
""run_mode"": ""TRIAL"", | |
""stan"": ""1494307057"", | |
""user_handle_value"": ""9816923672"", | |
""client_ip"": ""127.0.0.1"", | |
""location"": ""44.968046,-94.420307"", | |
""user_handle_type"": ""MSISDN"", | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""transmission_datetime"": ""1488779072701"" | |
} | |
} { | |
""offset"": ""0"", | |
""response_status"": { | |
""code"": ""000"", | |
""message"": ""Application List fetch Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""application_list"": [{ | |
""usecase"": ""TAX-COMP-UC001"", | |
""data"": ""{\""tax_component_details\"":{\""internal_account_defination_id\"":\""1\"",\""gl_code\"":\""tax component 5\"",\""code\"":\""TAX5\"",\""internal_account_defination_name\"":\""TAX5\"",\""name\"":\""tax component 5\"",\""currency_value\"":\""tax component 5\"",\""description\"":\""ashdsajh\"",\""currency\"":\""TAX5\"",\""internal_account_defination_code\"":\""tax component 5\"",\""id\"":null,\""gl_name\"":\""TAX5\""},\""tax_component_slab_details\"":[{\""percentage\"":\""4.12345\"",\""effective_date\"":\""1519842600000\"",\""base_amount\"":\""10000\""}],\""draft_id\"":null,\""application_id\"":null}"", | |
""created_on"": ""2018-04-02 15:24:27.0"", | |
""id"": ""62"", | |
""status"": ""PENDING_APPROVAL"" | |
}, | |
{ | |
""usecase"": ""TAX-COMP-UC001"", | |
""data"": ""{\""tax_component_details\"":{\""gl_category_value\"":\""GNL_CAT_001\"",\""code\"":\""TAX8\"",\""currency_value\"":\""INR\"",\""description\"":\""ashdsajh\"",\""internal_account_defination_id\"":\""1\"",\""gl_code\"":\""GL\"",\""internal_account_defination_name\"":\""IAD1\"",\""name\"":\""tax component 8\"",\""currency\"":\""CCY_001\"",\""internal_account_defination_code\"":\""IAD1\"",\""id\"":null,\""gl_name\"":\""GL1\"",\""gl_category\"":\""Asset\""},\""tax_component_slab_details\"":[{\""end_date\"":\""4102425000000\"",\""percentage\"":\""12.12\"",\""base_amount\"":\""10000\"",\""start_date\"":\""1525113000000\""}],\""draft_id\"":null,\""application_id\"":null}"", | |
""created_on"": ""2018-04-05 16:02:33.0"", | |
""id"": ""72"", | |
""status"": ""PENDING_APPROVAL"" | |
} | |
], | |
""number_of_records"": ""2"", | |
""page_size"": 2 | |
} </s>" | |
"<s>[INST] getApplicationCount | |
This endpoint gives count of applications and drafts. | |
[/INST] { | |
""request"": { | |
""user_id"": ""1"", | |
""user_story_code_list"": [""GEN-LEDG""] | |
}, | |
""headers"": { | |
""actor_type"": ""CUSTOMER"", | |
""operation_mode"": ""SELF"", | |
""channel_code"": ""NOVOPAY"", | |
""function_sub_code"": ""APPROVAL"", | |
""function_code"": ""APPLICATION"", | |
""end_channel_code"": ""CBS"", | |
""run_mode"": ""TRIAL"", | |
""stan"": ""1494307057"", | |
""user_handle_value"": ""9816923672"", | |
""client_ip"": ""127.0.0.1"", | |
""location"": ""44.968046,-94.420307"", | |
""user_handle_type"": ""MSISDN"", | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""transmission_datetime"": ""1488779072701"" | |
} | |
} { | |
""draft_count"": ""2"", | |
""pending_action_count"": 2 | |
} </s>" | |
"<s>[INST] getApplicationCount | |
This endpoint gives count of applications and drafts. | |
[/INST] { | |
""request"": { | |
""user_id"": ""1"", | |
""user_story_code_list"": [""GEN-LEDG""] | |
}, | |
""headers"": { | |
""actor_type"": ""CUSTOMER"", | |
""operation_mode"": ""SELF"", | |
""channel_code"": ""NOVOPAY"", | |
""function_sub_code"": ""APPROVAL"", | |
""function_code"": ""APPLICATION"", | |
""end_channel_code"": ""CBS"", | |
""run_mode"": ""TRIAL"", | |
""stan"": ""1494307057"", | |
""user_handle_value"": ""9816923672"", | |
""client_ip"": ""127.0.0.1"", | |
""location"": ""44.968046,-94.420307"", | |
""user_handle_type"": ""MSISDN"", | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""transmission_datetime"": ""1488779072701"" | |
} | |
} { | |
""draft_count"": ""2"", | |
""pending_action_count"": 2 | |
} </s>" | |
"<s>[INST] submitApplication This endpoint submits an application for approval. | |
[/INST] { | |
""request"": { | |
""id"": ""1"", | |
""draft_id"": ""1"", | |
""office_id"": ""1"", | |
""target_api_name"": ""api_name"", | |
""target_api_version"": ""api_version"", | |
""target_api_function_code"": ""api_function_code"", | |
""target_api_function_sub_code"": ""api_fuction_suv_code"", | |
""usecase"": ""USECASE"", | |
""identifier"": ""IDENTIFIER"", | |
""data"": ""DATA"", | |
""attachments"": [] | |
}, | |
""headers"": { | |
""actor_type"": ""CUSTOMER"", | |
""operation_mode"": ""SELF"", | |
""channel_code"": ""NOVOPAY"", | |
""function_sub_code"": ""DEFAULT"", | |
""function_code"": ""SUBMIT"", | |
""end_channel_code"": ""CBS"", | |
""run_mode"": ""TRIAL"", | |
""stan"": ""1494307057"", | |
""user_handle_value"": ""9816923672"", | |
""client_ip"": ""127.0.0.1"", | |
""location"": ""44.968046,-94.420307"", | |
""user_handle_type"": ""MSISDN"", | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""transmission_datetime"": ""1488779072701"" | |
} | |
} { | |
""application_id"": ""1"", | |
""response_status"": { | |
""code"": ""100001"", | |
""message"": ""Application Submitted Successfully"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] approveApplication | |
This endpoint approved an application for approval. | |
[/INST] { | |
""request"": { | |
""id"": ""1"" | |
}, | |
""headers"": { | |
""actor_type"": ""CUSTOMER"", | |
""operation_mode"": ""SELF"", | |
""channel_code"": ""NOVOPAY"", | |
""function_sub_code"": ""DEFAULT"", | |
""function_code"": ""DEFAULT"", | |
""end_channel_code"": ""CBS"", | |
""run_mode"": ""TRIAL"", | |
""stan"": ""1494307057"", | |
""user_handle_value"": ""9816923672"", | |
""client_ip"": ""127.0.0.1"", | |
""location"": ""44.968046,-94.420307"", | |
""user_handle_type"": ""MSISDN"", | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""transmission_datetime"": ""1488779072701"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""100001"", | |
""message"": ""Application Approved Successfully"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] createOrUpdateGeneralLedger This endpoint is to create or update a General Ledger. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"" | |
}, | |
""request"": { | |
""general_ledger_details"" : { | |
""code"": ""GL01"", | |
""name"": ""Salaries Expense"", | |
""description"": ""Expense on Salaries"", | |
""category"": ""GNL_CAT_001"", | |
""currency"": ""CCY_001"", | |
""balance_type"": ""BAL_TYP_DR"", | |
""allowed_transaction_type"": ""ALD_TXN_TYP_DR"" | |
} | |
} | |
} { | |
""response_status"": { | |
""code"": ""30000"", | |
""message"": ""General Ledger (GL01) - Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getGeneralLedgerDetails This endpoint is to get details of a General Ledger. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""1"" | |
} | |
} { | |
""general_ledger_details"": { | |
""id"": ""1"", | |
""code"": ""GL01"", | |
""name"": ""Salaries Expense"", | |
""description"": ""Expense on Salaries"", | |
""category"": ""GNL_CAT_001"", | |
""category_value"": ""Asset"", | |
""currency"": ""CCY_001"", | |
""currency_value"": ""INR"", | |
""balance_type"": ""BAL_TYP_DR"", | |
""balance_type_value"": ""Debit"", | |
""allowed_transaction_type"": ""ALD_TXN_TYP_DR"", | |
""allowed_transaction_type_value"": ""Debit"", | |
""status"": ""ACTIVE"", | |
""status_value"": ""Active"" | |
}, | |
""response_status"": { | |
""code"": ""30015"", | |
""message"": ""General Ledger Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getGeneralLedgerList This endpoint gives list of General Ledger(s). [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""page_size"": ""10"", | |
""offset"": ""0"", | |
""sort_criteria"": { | |
""order"": ""ASC"", | |
""fields"": [ | |
{ | |
""field_name"": ""code"" | |
} | |
] | |
}, | |
""search_criteria"": { | |
""code"": """", | |
""name"": """", | |
""category"": """", | |
""currency"": """" | |
} | |
} | |
} { | |
""general_ledger_list"": [ | |
{ | |
""general_ledger_details"": { | |
""id"": ""1"", | |
""code"": ""GL01"", | |
""name"": ""Salaries Expense"", | |
""currency"": ""CCY_001"", | |
""currency_value"": ""INR"", | |
""category"": ""GNL_CAT_001"", | |
""category_value"": ""Asset"", | |
""balance_type"": ""BAL_TYP_DR"", | |
""balance_type_value"": ""Debit"", | |
""allowed_transaction_type"": ""ALD_TXN_TYP_DR"", | |
""allowed_transaction_type_value"": ""Debit"", | |
""status"": ""ACTIVE"", | |
""status_value"": ""Active"" | |
} | |
}, | |
{ | |
""general_ledger_details"": { | |
""id"": ""2"", | |
""code"": ""GL02"", | |
""name"": ""Rent Expense"", | |
""currency"": ""CCY_001"", | |
""currency_value"": ""INR"", | |
""category"": ""GNL_CAT_001"", | |
""category_value"": ""Asset"", | |
""balance_type"": ""BAL_TYP_DR"", | |
""balance_type_value"": ""Debit"", | |
""allowed_transaction_type"": ""ALD_TXN_TYP_BOT"", | |
""allowed_transaction_type_value"": ""Both"", | |
""status"": ""INACTIVE"", | |
""status_value"": ""INactive"" | |
} | |
} | |
], | |
""offset"": ""0"", | |
""response_status"": { | |
""code"": ""30014"", | |
""message"": ""General Ledger List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""number_of_records"": ""2"", | |
""page_size"": ""10"" | |
} </s>" | |
"<s>[INST] deleteGeneralLedger This endpoint is for deleting a General Ledger. [/INST] EXAMPLE REQUEST | |
{ | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""1"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""30002"", | |
""message"": ""General Ledger (GL01) - Deleted"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] updateGeneralLedgerStatus This endpoint is for updating the status of a General Ledger. [/INST] { | |
""headers"": { | |
""tenant_code"": ""{{tenant_code}}"", | |
""user_id"": ""{{user_id}}"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1633436322847"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEACTIVATE"", | |
""locale"": ""en-in"" | |
}, | |
""request"": { | |
""id"": ""1"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""30314"", | |
""message"": ""General Ledger (GL004) - Deactivation sent for approval"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] createOrUpdateInternalAccountDefinition This endpoint is to create or update a Internal Account Definition. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"" | |
}, | |
""request"": { | |
""internal_account_definition_details"" : { | |
""name"": ""Loan Interest Payable"", | |
""description"": ""Internal Account Definition for Loan Interest Payable"", | |
""direct_posting_allowed"": ""true"", | |
""offset_account_type"": ""OFF_ACT_TYP_DR"", | |
""general_ledger_code"": ""GL10"" | |
} | |
} | |
} { | |
""response_status"": { | |
""code"": ""30016"", | |
""message"": ""Internal Account Definition (GL10001) - Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getInternalAccountDefinitionDetails This endpoint is to get details of a Internal Account Definition. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""1"" | |
} | |
} { | |
""internal_account_definition_details"" : { | |
""id"": ""1"", | |
""code"": ""GL10001"", | |
""name"": ""Loan Interest Payable"", | |
""description"": ""Internal Account Definition for Loan Interest Payable"", | |
""direct_posting_allowed"": ""true"", | |
""offset_account_type"": ""OFF_ACT_TYP_DR"", | |
""offset_account_type_value"": ""Debit"", | |
""general_ledger_code"": ""GL10"", | |
""general_ledger_name"": ""Loans Payable"", | |
""category"": ""GNL_CAT_001"", | |
""category_value"": ""Asset"", | |
""currency"":""CCY_001"", | |
""currency_value"": ""INR"" | |
}, | |
""response_status"": { | |
""code"": ""30031"", | |
""message"": ""Internal Account Definition Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getInternalAccountDefinitionList This endpoint gives list of Internal Account Definition(s). [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""page_size"": ""10"", | |
""offset"": ""0"", | |
""sort_criteria"": { | |
""order"": ""ASC"", | |
""fields"": [ | |
{ | |
""field_name"": ""code"" | |
} | |
] | |
}, | |
""search_criteria"": { | |
""code"": """", | |
""name"": """", | |
""general_ledger_code"": """" | |
} | |
} | |
} { | |
""internal_account_definition_list"": [ | |
{ | |
""internal_account_definition_details"": { | |
""id"": ""1"", | |
""code"": ""GL10001"", | |
""name"": ""Loan Interest Payable"", | |
""direct_posting_allowed"": ""true"", | |
""general_ledger_code"": ""GL10"", | |
""general_ledger_name"": ""Loans Payable"", | |
""category"": ""GNL_CAT_001"", | |
""category_value"": ""Asset"", | |
""currency"": ""CCY_001"", | |
""currency_value"": ""INR"" | |
} | |
}, | |
{ | |
""internal_account_definition_details"": { | |
""id"": ""2"", | |
""code"": ""GL10002"", | |
""name"": ""Stamp Duty"", | |
""direct_posting_allowed"": ""true"", | |
""general_ledger_code"": ""GL10"", | |
""general_ledger_name"": ""Loans Payable"", | |
""category"": ""GNL_CAT_001"", | |
""category_value"": ""Asset"", | |
""currency"": ""CCY_001"", | |
""currency_value"": ""INR"" | |
} | |
} | |
], | |
""offset"": ""0"", | |
""response_status"": { | |
""code"": ""30030"", | |
""message"": ""Internal Account Definition List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""number_of_records"": ""2"", | |
""page_size"": ""2"" | |
} </s>" | |
"<s>[INST] deleteInternalAccountDefinition This endpoint is for deleting a Internal Account Definition. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""1"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""30018"", | |
""message"": ""Internal Account Definition (GL10001) - Deleted"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] createOrUpdateInternalAccount This endpoint is to create or update a Internal Account. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"" | |
}, | |
""request"": { | |
""internal_account_details"" : { | |
""name"": ""Loan Interest Payable Account"", | |
""description"": ""Internal Account for Loan Interest Payable"", | |
""office_id"": ""1"", | |
""internal_account_definition_id"": ""1"", | |
""balance_limit"": ""1000000.00"" | |
} | |
} | |
} { | |
""response_status"": { | |
""code"": ""30065"", | |
""message"": ""Internal Account (GL10001001) - Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getInternalAccountDetails This endpoint is to get details of a Internal Account. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""1"" | |
} | |
} { | |
""internal_account_details"" : { | |
""id"": ""1"", | |
""account_number"": ""GL10001001"", | |
""name"": ""Loan Interest Payable Account"", | |
""description"": ""Internal Account for Loan Interest Payable"", | |
""office_id"": ""1"", | |
""office_code"": ""BLR_SRJ_001"", | |
""office_name"": ""Sarjapur Road, Bengalore"", | |
""internal_account_definition_id"": ""1"", | |
""internal_account_definition_code"": ""GL10001"", | |
""internal_account_definition_name"": ""Loan Interest Payable"", | |
""direct_posting_allowed"": ""true"", | |
""general_ledger_code"": ""GL10"", | |
""general_ledger_name"": ""Loans Payable"", | |
""category"": ""GNL_CAT_001"", | |
""category_value"": ""Asset"", | |
""currency"": ""CCY_001"", | |
""currency_value"": ""INR"", | |
""balance_limit"": ""1000000.00"" | |
}, | |
""response_status"": { | |
""code"": ""30080"", | |
""message"": ""Internal Account Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getInternalAccountList This endpoint gives list of Internal Account(s). [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""page_size"": ""10"", | |
""offset"": ""0"", | |
""sort_criteria"": { | |
""order"": ""ASC"", | |
""fields"": [ | |
{ | |
""field_name"": ""account_number"" | |
} | |
] | |
}, | |
""search_criteria"": { | |
""account_number"": """", | |
""name"": """", | |
""internal_account_definition_code"": """", | |
""general_ledger_code"": """" | |
} | |
} | |
} { | |
""internal_account_list"": [ | |
{ | |
""internal_account_details"": { | |
""id"": ""1"", | |
""account_number"": ""GL10001001"", | |
""name"": ""Loan Interest Payable Account"", | |
""office_id"": ""1"", | |
""office_code"": ""BLR_SRJ_001"", | |
""office_name"": ""Sarjapur Road, Bengalore"", | |
""internal_account_definition_code"": ""GL10001"", | |
""internal_account_definition_name"": ""Loan Interest Payable"", | |
""general_ledger_code"": ""GL10"", | |
""general_ledger_name"": ""Loans Payable"", | |
""category"": ""GNL_CAT_001"", | |
""category_value"": ""Asset"", | |
""currency"": ""CCY_001"", | |
""currency_value"": ""INR"", | |
} | |
}, | |
{ | |
""internal_account_details"": { | |
""id"": ""2"", | |
""account_number"": ""GL10002001"", | |
""name"": ""Stamp Duty Account"", | |
""office_id"": ""1"", | |
""office_code"": ""BLR_SRJ_001"", | |
""office_name"": ""Sarjapur Road, Bengalore"", | |
""internal_account_definition_code"": ""GL10002"", | |
""internal_account_definition_name"":""Stamp Duty"", | |
""general_ledger_code"": ""GL10"", | |
""general_ledger_name"": ""Loans Payable"", | |
""category"": ""GNL_CAT_001"", | |
""category_value"": ""Asset"", | |
""currency"": ""CCY_001"", | |
""currency_value"": ""INR"", | |
} | |
} | |
], | |
""offset"": ""0"", | |
""response_status"": { | |
""code"": ""30079"", | |
""message"": ""Internal Account List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""number_of_records"": ""2"", | |
""page_size"": ""2"" | |
} </s>" | |
"<s>[INST] deleteInternalAccount This endpoint is for deleting a Internal Account. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""1527678535795"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""TRIAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""id"": ""1"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""30067"", | |
""message"": ""Internal Account (GL10001001) - Deleted"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] interestAccrualPosting This endpoint for interest accrual posting. This api will be running as batch at End of Day. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""REAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
""office_id"": ""1"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""000"", | |
""message"": """", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] interestAccrualCalculation This endpoint for interest accrual calculation. This api will be running as batch at End of Day. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""REAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"" | |
}, | |
""request"": { | |
} | |
} { | |
""response_status"": { | |
""code"": ""000"", | |
""message"": """", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] createOrUpdatePlaceholderMaster This endpoint creates or updates placeholder master. [/INST] { | |
""headers"": { | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""AIG"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1488779072701"", | |
""operation_mode"": ""SELF"", | |
""run_mode"": ""REAL"", | |
""retry_count"": ""0"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046,-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""CREATE"" | |
}, | |
""request"": { | |
""placeholder_master_details"": { | |
""code"": ""Code"", | |
""name"": ""Code One "", | |
""description"": ""Description One"" | |
} | |
} | |
} { | |
""placeholder_master_id"": ""1"", | |
""response_status"": { | |
""code"": ""30081"", | |
""message"": ""Placeholder Master (Code) Created"", | |
""status"": ""SUCCESS"" | |
} | |
} </s>" | |
"<s>[INST] getPlaceholderMasterList This endpoint gives tailored list of placeholder master. [/INST] { | |
""headers"": { | |
""tenant_code"": ""{{tenant_code}}"", | |
""user_id"": ""{{user_id}}"", | |
""client_code"": ""NOVOPAY"", | |
""channel_code"": ""NOVOPAY"", | |
""end_channel_code"": ""NOVOPAY"", | |
""stan"": ""{{$timestamp}}"", | |
""client_ip"": ""127.0.0.1"", | |
""transmission_datetime"": ""1633436322847"", | |
""operation_mode"": ""SELF"", | |
""retry_count"": """", | |
""run_mode"": ""REAL"", | |
""actor_type"": ""CUSTOMER"", | |
""user_handle_type"": ""MSISDN"", | |
""user_handle_value"": ""9816923672"", | |
""location"": ""44.968046;-94.420307"", | |
""function_code"": ""DEFAULT"", | |
""function_sub_code"": ""DEFAULT"", | |
""locale"": ""en-in"" | |
}, | |
""request"": { | |
""search_criteria"": { | |
""code"": """", | |
""name"": """" | |
}, | |
""page_size"": ""10"", | |
""offset"": ""0"", | |
""sort_criteria"": { | |
""order"": ""ASC"", | |
""fields"": [ | |
{ | |
""field_name"": ""code"" | |
} | |
] | |
} | |
} | |
} { | |
""offset"": ""0"", | |
""response_status"": { | |
""code"": ""30095"", | |
""message"": ""Placeholder Master List fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""number_of_records"": ""3"", | |
""placeholder_master_details_list"": [ | |
{ | |
""placeholder_master_details"": { | |
""id"": ""31"", | |
""code"": ""INT_INCOME"", | |
""name"": ""Int Income"", | |
""description"": ""PlaceholdercodeforInterestIncome"", | |
""category"": ""INCOME"", | |
""category_value"": ""Income"", | |
""actor_account_placeholder"": ""false"", | |
""externally_passed_account_placeholder"": ""false"" | |
} | |
}, | |
{ | |
""placeholder_master_details"": { | |
""id"": ""32"", | |
""code"": ""INT_EXPENSE"", | |
""name"": ""Int Expense"", | |
""description"": ""PlaceholdercodeforInterestExpense"", | |
""category"": ""EXPENSE"", | |
""category_value"": ""Expense"", | |
""actor_account_placeholder"": ""true"", | |
""externally_passed_account_placeholder"": ""true"" | |
} | |
}, | |
{ | |
""placeholder_master_details"": { | |
""id"": ""33"", | |
""code"": ""INT_ASSET"", | |
""name"": ""Int ASSET"", | |
""description"": ""PlaceholdercodeforInterestAsset"", | |
""category"": ""ASSET"", | |
""category_value"": ""Asset"", | |
""actor_account_placeholder"": ""true"", | |
""externally_passed_account_placeholder"": ""true"" | |
} | |
} | |
], | |
""page_size"": ""10"" | |
} </s>" | |
"<s>[INST] getPlaceholderMasterDetails This endpoint gives details of a given placeholder master. [/INST] { | |
""request"": { | |
""id"" : ""1"" | |
}, | |
""headers"": { | |
""actor_type"": ""CUSTOMER"", | |
""operation_mode"": ""SELF"", | |
""channel_code"": ""NOVOPAY"", | |
""function_sub_code"": ""DEFAULT"", | |
""function_code"": ""DEFAULT"", | |
""end_channel_code"": ""CBS"", | |
""run_mode"": ""TRIAL"", | |
""stan"": ""1494307057"", | |
""user_handle_value"": ""9816923672"", | |
""client_ip"": ""127.0.0.1"", | |
""location"": ""44.968046,-94.420307"", | |
""user_handle_type"": ""MSISDN"", | |
""tenant_code"": ""novopay"", | |
""client_code"": ""NOVOPAY"", | |
""transmission_datetime"": ""1488779072701"" | |
} | |
} { | |
""response_status"": { | |
""code"": ""30096"", | |
""message"": ""Placeholder Master Details fetched Successfully"", | |
""status"": ""SUCCESS"" | |
}, | |
""placeholder_master_details"": { | |
""id"": ""1"" | |
""code"": ""Code"", | |
""name"": ""Code One "", | |
""description"": ""ssdasd"" | |
} | |
} </s>" | |