WorkInfosysBTNSetting Branch & Audit Trail EnhancementData Contract

Data Contract

Get List Branch

  • Method: POST
  • URL: /api/portalservice/branch

Request

KeyValue
AuthorizationBearer token

Body

{
	"page": 1,
	"size": 10,
	"searchValue": "",
	"sort": [
		{
			"key": "",
			"order": "ASC | DESC"
		}
	]
}

Response

Body

{
  "statusCode": "00",
  "message": "",
  "data": [
		{
			"id": 13322,
			"code": "128",
			"name": "Sukabumi",
			"address": "Jalan Sudirman No.49, Gunungparang, Kec. Cikole, Kota Sukabumi, Jawa Barat, 43131",
			"state": "INDONESIA",
			"city": "KOTA SUKABUMI",
			"postal": "43131",
			"phone": "(0266) 223446,235951",
			"status": 1,
			"createdDate": 1725555600000,
			"createdBy": "SYSTEM",
			"modifiedOn": null,
			"modifiedBy": null,
			"branchType": "Jakarta 2",
			"latitude": "-69196246614552400",
			"longitude": "10691998064517900",
			"additionalData": null,
			"phoneMobile": "(0266) 223446,235951",
			"province": "JAWA BARAT",
			"parentBranchId": null,
			"branchId": 128,
			"branchTypeCode": "KC",
			"child": [
				{
					"id": 13324,
					"code": "129",
					"name": "CIANJUR",
					"address": "Jl. DR Muwardi No. 90, Kel. Bojongherang, Kec. Cianjur, Kab. Cianjur",
					"state": "INDONESIA",
					"city": "KAB. CIANJUR",
					"postal": "43216",
					"phone": "(0263) 266310",
					"status": 1,
					"createdDate": 1725555600000,
					"createdBy": "SYSTEM",
					"modifiedOn": null,
					"modifiedBy": null,
					"branchType": "Jakarta 2",
					"latitude": "-68117066",
					"longitude": "1071428078",
					"additionalData": null,
					"phoneMobile": "(0263) 266310",
					"province": "JAWA BARAT",
					"parentBranchId": 128,
					"branchId": 129,
					"branchTypeCode": "KCP",
					"child": [],
					"deleted": false
				},
				{
					"id": 13777,
					"code": "1172",
					"name": "Cikembar",
					"address": "Jl. Kp Cisampora Ruko No. 19 Kelurahan Bojongraharja, Kecamatan Cikembar, Kab Sukabumi",
					"state": "INDONESIA",
					"city": "KAB. SUKABUMI",
					"postal": "43157",
					"phone": "(0266) 6329199",
					"status": 1,
					"createdDate": 1725555600000,
					"createdBy": "SYSTEM",
					"modifiedOn": null,
					"modifiedBy": null,
					"branchType": "Jakarta 2",
					"latitude": "-69766361",
					"longitude": "1068280345",
					"additionalData": null,
					"phoneMobile": "(0266) 6329199",
					"province": "JAWA BARAT",
					"parentBranchId": 128,
					"branchId": 1172,
					"branchTypeCode": "KCP",
					"child": [],
					"deleted": false
				}
			],
			"deleted": false
		},
	    {
			"id": 13166,
			"code": "1",
			"name": "Jakarta Kuningan",
			"address": "Gedung Plaza BP Jamsostek Lt 1, 2, & 9\r\n Jl. HR Rasuna Said Kav. 112 - 114 Blok B\r\nKecamatan Setiabudi, Kelurahan Karet Kuningan\r\nJakarta Selatan 12940",
			"state": "INDONESIA",
			"city": "KOTA ADM. JAKARTA SELATAN",
			"postal": "12940",
			"phone": "(021) 52964652",
			"status": 1,
			"createdDate": 1725555600000,
			"createdBy": "SYSTEM",
			"modifiedOn": null,
			"modifiedBy": null,
			"branchType": "Jakarta 2",
			"latitude": "-62071976",
			"longitude": "1068288448",
			"additionalData": null,
			"phoneMobile": "(021) 52964652",
			"province": "DKI JAKARTA",
			"parentBranchId": null,
			"branchId": 1,
			"branchTypeCode": "KC",
			"child": [
				{
					"id": 13222,
					"code": "49",
					"name": "TEBET",
					"address": "GEDUNG GRAHA EXITAMA LT.1 Jl. Prof. DR. Soepomo No. 19 RT. 07/01 Menteng Dalam, Kec. Tebet  Kota Jakarta Selatan",
					"state": "INDONESIA",
					"city": "KOTA ADM. JAKARTA SELATAN",
					"postal": "12810",
					"phone": "021 - 22323599",
					"status": 1,
					"createdDate": 1725555600000,
					"createdBy": "SYSTEM",
					"modifiedOn": null,
					"modifiedBy": null,
					"branchType": "Jakarta 2",
					"latitude": "-62344078",
					"longitude": "1068439937",
					"additionalData": null,
					"phoneMobile": "021 - 22323599",
					"province": "DKI JAKARTA",
					"parentBranchId": 1,
					"branchId": 49,
					"branchTypeCode": "KCP",
					"child": [],
					"deleted": false
				}
			],
			"deleted": false
	    }
  ],
  "pagination": {
	  "page": 1,
	  "size": 10,
	  "totalPages": 8,
	  "totalElements": 80
  }
}

Add New Branch

  • Method: POST
  • URL: /api/portalservice/branch

Request

Header

KeyValue
AuthorizationBearer token

Body

{
	"page": 1,
	"size": 10,
	"searchValue": "",
	"sort": [
		{
			"key": "",
			"order": "ASC | DESC"
		}
	]
}

Response

Body

{
  "statusCode": "00",
  "message": "",
  "data": [
		{
			"id": 13322,
			"code": "128",
			"name": "Sukabumi",
			"address": "Jalan Sudirman No.49, Gunungparang, Kec. Cikole, Kota Sukabumi, Jawa Barat, 43131",
			"state": "INDONESIA",
			"city": "KOTA SUKABUMI",
			"postal": "43131",
			"phone": "(0266) 223446,235951",
			"status": 1,
			"createdDate": 1725555600000,
			"createdBy": "SYSTEM",
			"modifiedOn": null,
			"modifiedBy": null,
			"branchType": "Jakarta 2",
			"latitude": "-69196246614552400",
			"longitude": "10691998064517900",
			"additionalData": null,
			"phoneMobile": "(0266) 223446,235951",
			"province": "JAWA BARAT",
			"parentBranchId": null,
			"branchId": 128,
			"branchTypeCode": "KC",
			"child": [
				{
					"id": 13324,
					"code": "129",
					"name": "CIANJUR",
					"address": "Jl. DR Muwardi No. 90, Kel. Bojongherang, Kec. Cianjur, Kab. Cianjur",
					"state": "INDONESIA",
					"city": "KAB. CIANJUR",
					"postal": "43216",
					"phone": "(0263) 266310",
					"status": 1,
					"createdDate": 1725555600000,
					"createdBy": "SYSTEM",
					"modifiedOn": null,
					"modifiedBy": null,
					"branchType": "Jakarta 2",
					"latitude": "-68117066",
					"longitude": "1071428078",
					"additionalData": null,
					"phoneMobile": "(0263) 266310",
					"province": "JAWA BARAT",
					"parentBranchId": 128,
					"branchId": 129,
					"branchTypeCode": "KCP",
					"child": [],
					"deleted": false
				},
				{
					"id": 13777,
					"code": "1172",
					"name": "Cikembar",
					"address": "Jl. Kp Cisampora Ruko No. 19 Kelurahan Bojongraharja, Kecamatan Cikembar, Kab Sukabumi",
					"state": "INDONESIA",
					"city": "KAB. SUKABUMI",
					"postal": "43157",
					"phone": "(0266) 6329199",
					"status": 1,
					"createdDate": 1725555600000,
					"createdBy": "SYSTEM",
					"modifiedOn": null,
					"modifiedBy": null,
					"branchType": "Jakarta 2",
					"latitude": "-69766361",
					"longitude": "1068280345",
					"additionalData": null,
					"phoneMobile": "(0266) 6329199",
					"province": "JAWA BARAT",
					"parentBranchId": 128,
					"branchId": 1172,
					"branchTypeCode": "KCP",
					"child": [],
					"deleted": false
				}
			],
			"deleted": false
		},
	    {
			"id": 13166,
			"code": "1",
			"name": "Jakarta Kuningan",
			"address": "Gedung Plaza BP Jamsostek Lt 1, 2, & 9\r\n Jl. HR Rasuna Said Kav. 112 - 114 Blok B\r\nKecamatan Setiabudi, Kelurahan Karet Kuningan\r\nJakarta Selatan 12940",
			"state": "INDONESIA",
			"city": "KOTA ADM. JAKARTA SELATAN",
			"postal": "12940",
			"phone": "(021) 52964652",
			"status": 1,
			"createdDate": 1725555600000,
			"createdBy": "SYSTEM",
			"modifiedOn": null,
			"modifiedBy": null,
			"branchType": "Jakarta 2",
			"latitude": "-62071976",
			"longitude": "1068288448",
			"additionalData": null,
			"phoneMobile": "(021) 52964652",
			"province": "DKI JAKARTA",
			"parentBranchId": null,
			"branchId": 1,
			"branchTypeCode": "KC",
			"child": [
				{
					"id": 13222,
					"code": "49",
					"name": "TEBET",
					"address": "GEDUNG GRAHA EXITAMA LT.1 Jl. Prof. DR. Soepomo No. 19 RT. 07/01 Menteng Dalam, Kec. Tebet  Kota Jakarta Selatan",
					"state": "INDONESIA",
					"city": "KOTA ADM. JAKARTA SELATAN",
					"postal": "12810",
					"phone": "021 - 22323599",
					"status": 1,
					"createdDate": 1725555600000,
					"createdBy": "SYSTEM",
					"modifiedOn": null,
					"modifiedBy": null,
					"branchType": "Jakarta 2",
					"latitude": "-62344078",
					"longitude": "1068439937",
					"additionalData": null,
					"phoneMobile": "021 - 22323599",
					"province": "DKI JAKARTA",
					"parentBranchId": 1,
					"branchId": 49,
					"branchTypeCode": "KCP",
					"child": [],
					"deleted": false
				}
			],
			"deleted": false
	    }
  ],
  "pagination": {
	  "page": 1,
	  "size": 10,
	  "totalPages": 8,
	  "totalElements": 80
  }
}
Built with LogoFlowershow