sozsoft-platform/configs/seeds/data/App.DeveloperKit.CustomEndpoints.json

30 lines
1.7 KiB
JSON
Raw Normal View History

2026-09-04 11:29:27 +00:00
{
"ListFormCode": "App.DeveloperKit.CustomEndpoints",
"KeyFieldName": "Id",
"GeneratedAt": "2026-09-04T00:00:00Z",
"Rows": [
{
"Id": "22cdbe14-f7dc-5771-8553-927ad017db9e",
"Name": "Langugage",
"Description": "https://localhost:44344/api/app/custom-endpoint/dil/en",
"Url": "/dil/",
"Method": "GET",
"DataSourceCode": "Default",
"Sql": "SELECT * FROM Sas_H_Language WHERE IsEnabled = @IsEnabled AND CultureName = @CultureName",
"ParametersJson": "[{\"Type\":\"Path\",\"Name\":\"CultureName\",\"DefaultValue\":\"ar\",\"Path\":\"/dil/:CultureName/\",\"IsRequired\":false},{\"Type\":\"Static\",\"Name\":\"IsEnabled\",\"DefaultValue\":\"true\",\"Path\":null,\"IsRequired\":false}]",
"PermissionsJson": "[{\"ResourceType\":\"User\",\"ResourceId\":\"system@sozsoft.com\"}]"
2026-10-04 21:18:13 +00:00
},
{
"Id": "3c8b861f-abfa-5db3-8d93-8c1a08605ac5",
"Name": "HrAttendancePdks",
"Description": "PDKS hareket aktarımı: POST /api/app/custom-endpoint/hr/attendance/ { \"Items\": [{ \"CardNo\", \"UserName\", \"EventTime\", \"Direction\", \"DeviceCode\" }] }",
"Url": "/hr/attendance/",
"Method": "POST",
"DataSourceCode": "Default",
"Sql": "EXEC dbo.Hr_S_AttendanceImport @TenantId, @UserId, @Items",
"ParametersJson": "[{\"Type\":\"Static\",\"Name\":\"TenantId\",\"DefaultValue\":\"@TENANTID\",\"Path\":null,\"IsRequired\":false},{\"Type\":\"Static\",\"Name\":\"UserId\",\"DefaultValue\":\"@USERID\",\"Path\":null,\"IsRequired\":false},{\"Type\":\"Body\",\"Name\":\"Items\",\"DefaultValue\":\"\",\"Path\":null,\"IsRequired\":true}]",
"PermissionsJson": "[{\"ResourceType\":\"Role\",\"ResourceId\":\"PDKS\"}]"
2026-09-04 11:29:27 +00:00
}
]
}