Category Archives: Master API

C021: load

Objective:

master client, kyc

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 SalesID Integer  
2 SalesCode Varchar(20)  
3 TreePrefix Varchar(100)  
4 SInvestCode Varchar(10)  

Available Fields

No Name Type Description
1 SalesID Integer  
2 SalesCode Varchar(20)  
3 CorrespondenceAddress Varchar(255)  
4 CorrespondencePhone Varchar(50)  
5 CorrespondenceEmail Varchar(100)  
6 TaxID Varchar(100)  
7 LicenseNo Varchar(50)  
8 LicenseExpired Date  
9 LicenseIssuer Varchar(100)  
10 TreeParentID Integer  
11 TreeLevel TinyInt(4)  
12 TreeIsLeaf TinyInt(4)  
13 TreePrefix Varchar(100)  
14 SInvestCode Varchar(10)  

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Master_sales.team_head”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“SalesID”:50}

}

Sample Result

{“status”:true,”execution_time”:”0.0187″,”result”:{“page_no”:1,”rows_size”:490,”rows_no”:1,”rows”:[{“SalesID”:”50″,”SalesCode”:”MJ”,”CorrespondenceAddress”:”Jalan Wachid Hasyim No 10G Lantai 3″,”CorrespondencePhone”:”021″,”CorrespondenceEmail”:”mochamad.junaidi94@gmail.com”,”TaxID”:” “,”LicenseNo”:”-“,”LicenseExpired”:”2020-10-27″,”LicenseIssuer”:”-“,”TreeParentID”:”0″,”TreeLevel”:”1″,”TreeIsLeaf”:”0″,”TreePrefix”:”50.”,”SInvestCode”:null}]},”id”:1}

Sample Data 

“SalesID”: “50”,

“SalesCode”: “MJ”,

“CorrespondenceAddress”: “Jalan Wachid Hasyim No 10G Lantai 3”,

“CorrespondencePhone”: “021”,

“CorrespondenceEmail”: “mochamad.junaidi94@gmail.com”,

“TaxID”: ” “,

“LicenseNo”: “-“,

“LicenseExpired”: “2020-10-27”,

“LicenseIssuer”: “-“,

“TreeParentID”: “0”,

“TreeLevel”: “1”,

“TreeIsLeaf”: “0”,

“TreePrefix”: “50.”,

“SInvestCode”: null

C020: team_head

Objective:

master client, kyc

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 SalesID Integer  
2 sales_keyword    

Available Fields

No Name Type Description
1 SalesID Integer  
2 SalesCode Varchar(20)  
3 CorrespondenceAddress Varchar(255)  
4 CorrespondencePhone Varchar(50)  
5 CorrespondenceEmail Varchar(100)  
6 TaxID Varchar(100)  
7 LicenseNo Varchar(50)  
8 LicenseExpired Date  
9 LicenseIssuer Varchar(100)  
10 TreeParentID Integer  
11 TreeLevel TinyInt(4)  
12 TreeIsLeaf TinyInt(4)  
13 TreePrefix Varchar(100)  
14 SInvestCode Varchar(10)  

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Master_sales.team_head”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“SalesID”:50}

}

Sample Result

{“sstatus”:true,”execution_time”:”0.0187″,”result”:{“page_no”:1,”rows_size”:490,”rows_no”:1,”rows”:[{“SalesID”:”50″,”SalesCode”:”MJ”,”CorrespondenceAddress”:”Jalan Wachid Hasyim No 10G Lantai 3″,”CorrespondencePhone”:”021″,”CorrespondenceEmail”:”mochamad.junaidi94@gmail.com”,”TaxID”:” “,”LicenseNo”:”-“,”LicenseExpired”:”2020-10-27″,”LicenseIssuer”:”-“,”TreeParentID”:”0″,”TreeLevel”:”1″,”TreeIsLeaf”:”0″,”TreePrefix”:”50.”,”SInvestCode”:null}]},”id”:1}

Sample Data 

“SalesID”: “50”,”SalesCode”: “MJ”,

“CorrespondenceAddress”: “Jalan Wachid Hasyim No 10G Lantai 3”,

“CorrespondencePhone”: “021”,

“CorrespondenceEmail”: “mochamad.junaidi94@gmail.com”,

“TaxID”: ” “,

“LicenseNo”: “-“,

“LicenseExpired”: “2020-10-27”,

“LicenseIssuer”: “-“,

“TreeParentID”: “0”,

“TreeLevel”: “1”,

“TreeIsLeaf”: “0”,

“TreePrefix”: “50.”,

“SInvestCode”: null

C019: sales_sinvest

Objective:

master client, kyc

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 SalesID Integer  

Available Fields

No Name Type Description
1 SInvestCode Varchar(10)  

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Master_sales.sales_sinvest”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“SalesID”:50}

}

Sample Result

{“status”:true,”execution_time”:”0.0185″,”result”:{“SInvestCode”:”MJ”},”id”:1}

Sample Data 

“SInvestCode”: “MJ”

C018: sales_prefix

Objective:

master client, kyc

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 SalesID Integer  

Available Fields

No Name Type Description
1 TreePrefix    

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Master_sales.sales_prefix”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“SalesID”:50}

}

Sample Result

{“status”:true,”execution_time”:”0.0182″,”result”:{“TreePrefix”:”50.”},”id”:1}

Sample Data 

“TreePrefix”: “50.”

C017: sales_id

Objective:

master client, kyc

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 SalesCode Varchar(20)  

Available Fields

No Name Type Description
1 SalesID Integer  

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Master_sales.sales_id”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“SalesCode”:”JUNA94″}

}

Sample Result

{“status”:true,”execution_time”:”0.0162″,”result”:{“SalesID”:”2″},”id”:1}

Sample Data 

“SalesID”: “2”

C016: sales_code

Objective:

master client, kyc

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 SalesID Integer  

Available Fields

No Name Type Description
1 SalesCode Varchar(20)  

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Master_sales.sales_code”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“SalesID”:2}

}

Sample Result

{“status”:true,”execution_time”:”0.0181″,”result”:{“SalesCode”:”JUNA94″},”id”:1}

Sample Data 

“SalesCode”: “JUNA94”

C006: load

Objective:

master client, kyc

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 ClientID Integer  
2 ClientCode Varchar(50)  
3 SID Varchar(50)  
4 IFUA Varchar(50)  

Available Fields

No Name Type Description
1 simpiID Integer  
2 ClientID Integer  
3 ClientCode Varchar(50)  
4 SID Varchar(50)  
5 IFUA Varchar(50)  
6 ReferralCode Varchar(50)  
7 ClientName Varchar(255)  
8 SalesID Integer  
9 SalesCode Varchar(20)  
10 TreePrefix Varchar(100)  
11 SInvestCode Varchar(10)  
12 TypeID Integer  
13 CcyID Integer  
14 StatusID Integer  
15 CorrespondencePhone Varchar(100)  
16 CorrespondenceEmail Varchar(100)  
17 CorrespondenceAddress Varchar(255)  
18 CorrespondenceCity Varchar(100)  
19 CorrespondenceCityCode Varchar(10)  
20 RiskID Integer  
21 XRateID Integer  
22 LF char(1)  
23 CorrespondenceProvince Varchar(100)  
24 CorrespondenceCountryID Integer  
25 CorrespondencePostalCode Varchar(20)  
26 LastUpdate Date  
27 CreatedAt Date  
28 IsUpdate char(1)  

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Master_client.client_ifua”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“ClientID”:1}

}

Sample Result

{“status”:true,”execution_time”:”0.0193″,”result”:{“page_no”:1,”rows_size”:798,”rows_no”:1,”rows”:[{“simpiID”:”1″,”ClientID”:”1″,”ClientCode”:”INTERNAL”,”SID”:null,”IFUA”:null,”ReferralCode”:” “,”ClientName”:”INTERNAL”,”SalesID”:”2″,”SalesCode”:”JUNA94″,”TreePrefix”:”50.2.”,”SInvestCode”:null,”TypeID”:”8″,”CcyID”:”1″,”StatusID”:”1″,”CorrespondencePhone”:””,”CorrespondenceEmail”:””,”CorrespondenceAddress”:””,”CorrespondenceCity”:””,”CorrespondenceCityCode”:null,”RiskID”:”1″,”XRateID”:”1″,”LF”:”L”,”CorrespondenceProvince”:””,”CorrespondenceCountryID”:”1″,”CorrespondencePostalCode”:” “,”LastUpdate”:”2018-11-14″,”CreatedAt”:”2018-01-01″,”IsUpdate”:”N”}]},”id”:1}

Sample Data 

“simpiID”: “1”,”ClientID”: “1”,

“ClientCode”: “INTERNAL”,

“SID”: null,

“IFUA”: null,

“ReferralCode”: ” “,

“ClientName”: “INTERNAL”,

“SalesID”: “2”,

“SalesCode”: “JUNA94”,

“TreePrefix”: “50.2.”,

“SInvestCode”: null,

“TypeID”: “8”,

“CcyID”: “1”,

“StatusID”: “1”,

“CorrespondencePhone”: “”,

“CorrespondenceEmail”: “”,

“CorrespondenceAddress”: “”,

“CorrespondenceCity”: “”,

“CorrespondenceCityCode”: null,

“RiskID”: “1”,

“XRateID”: “1”,

“LF”: “L”,

“CorrespondenceProvince”: “”,

“CorrespondenceCountryID”: “1”,

“CorrespondencePostalCode”: ” “,

“LastUpdate”: “2018-11-14”,

“CreatedAt”: “2018-01-01”,

“IsUpdate”: “N”

C005: client_ifua

Objective:

master client, kyc

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 ClientID Integer  

Available Fields

No Name Type Description
1 IFUA Varchar(50)

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Master_client.client_ifua”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“ClientID”:1}

}

Sample Result

{“status”:true,”execution_time”:”0.0175″,”result”:{“IFUA”:null},”id”:1}

Sample Data 

“IFUA”: null

C004: client_sid

Objective:

master client, kyc

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 ClientID Integer  

Available Fields

No Name Type Description
1 SID Varchar(50)  

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Master_client.client_sid”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“ClientID”:1}

}

Sample Result

{“status”:true,”execution_time”:”0.0180″,”result”:{“SID”:null},”id”:1}

Sample Data 

“SID”: null

C003: client_id

Objective:

master client, kyc

Url:
https://market-api.simpipro.com

HTTP method: POST

Access Key

No Access Key Apply
1 License Key Y
2 Session ID Y
3 Token ID Y
4 AppCode Y

Parameter:

No Name Type Description
1 ClientCode Varchar(50)

Available Fields

No Name Type Description
1 ClientID Integer

Sample Request:

{

“agent”:”web”,

“license_key”:”xxx”,

“method”:”Master_client.client_id”,

“appcode”:”ayoavram.webapp”,

“id”:1,

“params”:{“ClientCode”:”INTERNAL”}

}

Sample Result

{“status”:true,”execution_time”:”0.0160″,”result”:{“ClientID”:”1″},”id”:1}

Sample Data 

“ClientID”: “1”