362 lines
8.9 KiB
JSON
362 lines
8.9 KiB
JSON
[
|
|
{
|
|
"ContainingType": "presence_api.Controllers.PresenceController.PresenceController",
|
|
"Method": "PostPresence",
|
|
"RelativePath": "AddPresence",
|
|
"HttpMethod": "POST",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [
|
|
{
|
|
"Name": "GroupId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "StartData",
|
|
"Type": "System.String",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "EndData",
|
|
"Type": "System.String",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "UserId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
}
|
|
],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "System.Collections.Generic.IEnumerable\u00601[[presence.domain.Models.Presence, domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence_api.Controllers.UserController.AdminController",
|
|
"Method": "AddStudent",
|
|
"RelativePath": "AddStudent",
|
|
"HttpMethod": "POST",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [
|
|
{
|
|
"Name": "GroupName",
|
|
"Type": "System.String",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "students",
|
|
"Type": "System.Collections.Generic.List\u00601[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
|
|
"IsRequired": false
|
|
}
|
|
],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "System.String",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence.presence_api.Controllers.GroupController",
|
|
"Method": "GetAllGroups",
|
|
"RelativePath": "api/Group",
|
|
"HttpMethod": "GET",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "System.Collections.Generic.IEnumerable\u00601[[presence.domain.Models.Group, domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence_api.Controllers.PresenceController.PresenceController",
|
|
"Method": "GetPresence",
|
|
"RelativePath": "api/Presence",
|
|
"HttpMethod": "GET",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [
|
|
{
|
|
"Name": "groupId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "startDataString",
|
|
"Type": "System.String",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "endDataString",
|
|
"Type": "System.String",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "userId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
}
|
|
],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "System.Collections.Generic.IEnumerable\u00601[[presence.domain.Models.Presence, domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence_api.Controllers.PresenceController.PresenceController",
|
|
"Method": "DeletePresenceByDate",
|
|
"RelativePath": "DeleteByDate",
|
|
"HttpMethod": "DELETE",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [
|
|
{
|
|
"Name": "StartData",
|
|
"Type": "System.String",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "EndData",
|
|
"Type": "System.String",
|
|
"IsRequired": false
|
|
}
|
|
],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "System.Collections.Generic.IEnumerable\u00601[[domain.Models.ResponseModels.PresenceResponse, domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence_api.Controllers.PresenceController.PresenceController",
|
|
"Method": "DeletePresenceByGroup",
|
|
"RelativePath": "DeleteByGroup",
|
|
"HttpMethod": "DELETE",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [
|
|
{
|
|
"Name": "GroupId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
}
|
|
],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "System.Collections.Generic.IEnumerable\u00601[[domain.Models.ResponseModels.PresenceResponse, domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence_api.Controllers.PresenceController.PresenceController",
|
|
"Method": "DeletePresenceByUser",
|
|
"RelativePath": "DeleteByUser",
|
|
"HttpMethod": "DELETE",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [
|
|
{
|
|
"Name": "UserId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
}
|
|
],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "System.Collections.Generic.IEnumerable\u00601[[domain.Models.ResponseModels.PresenceResponse, domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence_api.Controllers.UserController.AdminController",
|
|
"Method": "DeleteGroupId",
|
|
"RelativePath": "DeleteGroupId",
|
|
"HttpMethod": "DELETE",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [
|
|
{
|
|
"Name": "groupId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
}
|
|
],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "System.String",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence_api.Controllers.UserController.AdminController",
|
|
"Method": "DeleteUserId",
|
|
"RelativePath": "DeleteUserId",
|
|
"HttpMethod": "DELETE",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [
|
|
{
|
|
"Name": "userId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "groupId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
}
|
|
],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "System.String",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence_api.Controllers.UserController.AdminController",
|
|
"Method": "GetAllGroupsWithStudents",
|
|
"RelativePath": "GetAllGroupsWithStudents",
|
|
"HttpMethod": "GET",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "System.Collections.Generic.IEnumerable\u00601[[domain.Models.ResponseModels.GroupResponse, domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence_api.Controllers.UserController.AdminController",
|
|
"Method": "GetStudentInfo",
|
|
"RelativePath": "GetStudentInfo",
|
|
"HttpMethod": "GET",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [
|
|
{
|
|
"Name": "userId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
}
|
|
],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "domain.Models.ResponseModels.UserResponse",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ContainingType": "presence_api.Controllers.PresenceController.PresenceController",
|
|
"Method": "UpdateAttendance",
|
|
"RelativePath": "IsAttendence",
|
|
"HttpMethod": "POST",
|
|
"IsController": true,
|
|
"Order": 0,
|
|
"Parameters": [
|
|
{
|
|
"Name": "FirstClass",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "LastClass",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "Data",
|
|
"Type": "System.String",
|
|
"IsRequired": false
|
|
},
|
|
{
|
|
"Name": "UserId",
|
|
"Type": "System.Int32",
|
|
"IsRequired": false
|
|
}
|
|
],
|
|
"ReturnTypes": [
|
|
{
|
|
"Type": "domain.Models.ResponseModels.PresenceResponse",
|
|
"MediaTypes": [
|
|
"text/plain",
|
|
"application/json",
|
|
"text/json"
|
|
],
|
|
"StatusCode": 200
|
|
}
|
|
]
|
|
}
|
|
] |