POST api/Client/Definition/AssignFromMemberToGroup

Request Information

URI Parameters

None.

Body Parameters

AssignFromMemberToGroupRequestModel
NameDescriptionTypeAdditional information
Id

Collection of integer

None.

GroupId

integer

None.

PeriodId

integer

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": [
    1,
    2
  ],
  "GroupId": 1,
  "PeriodId": 2,
  "CompanyId": 3
}

application/xml, text/xml

Sample:
<AssignFromMemberToGroupRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition">
  <CompanyId>3</CompanyId>
  <GroupId>1</GroupId>
  <Id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Id>
  <PeriodId>2</PeriodId>
</AssignFromMemberToGroupRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AssignFromMemberToGroupRequestModel'.

Response Information

Resource Description

ResultModelOfListOfGroupMemberResponseModel
NameDescriptionTypeAdditional information
Response

boolean

None.

Message

string

None.

Exception

string

None.

Data

Collection of GroupMemberResponseModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "Message": "sample string 2",
  "Exception": "sample string 3",
  "Data": [
    {
      "GroupId": 1,
      "AccountId": 1,
      "DrivingLicenseTypeId": 1,
      "GroupName": "sample string 1",
      "AccountFirstName": "sample string 2",
      "AccountLastName": "sample string 3",
      "DrivingLicenseTypeName": "sample string 4",
      "PeriodName": "sample string 5",
      "TeacherId": 1,
      "TeacherFullName": "sample string 6",
      "PeriodStartDate": "2025-10-25T21:12:27.4499982+03:00",
      "PeriodEndDate": "2025-10-25T21:12:27.4499982+03:00",
      "GearType": 1,
      "SteeringExam": 1,
      "PeriodId": 1,
      "SteeringExamPassed": 1,
      "AccountFullName": "sample string 7",
      "Eexam": "2025-10-25T21:12:27.4499982+03:00",
      "SteeringExamPassedDate": "2025-10-25T21:12:27.4499982+03:00",
      "EexamDate": "2025-10-25T21:12:27.4499982+03:00",
      "AccountTCKN": "sample string 8",
      "AccountMobilePhone": "sample string 9",
      "SteeringExamDate": "2025-10-25T21:12:27.4499982+03:00",
      "IsImportedEexamDate": 1,
      "GroupMemberLessonLimit": 1,
      "GroupMemberLessonUsedCount": 1,
      "OfficeName": "sample string 10",
      "Id": 11,
      "CreatedOn": "2025-10-25T21:12:27.4499982+03:00",
      "ModifiedOn": "2025-10-25T21:12:27.4499982+03:00",
      "Status": 12
    },
    {
      "GroupId": 1,
      "AccountId": 1,
      "DrivingLicenseTypeId": 1,
      "GroupName": "sample string 1",
      "AccountFirstName": "sample string 2",
      "AccountLastName": "sample string 3",
      "DrivingLicenseTypeName": "sample string 4",
      "PeriodName": "sample string 5",
      "TeacherId": 1,
      "TeacherFullName": "sample string 6",
      "PeriodStartDate": "2025-10-25T21:12:27.4499982+03:00",
      "PeriodEndDate": "2025-10-25T21:12:27.4499982+03:00",
      "GearType": 1,
      "SteeringExam": 1,
      "PeriodId": 1,
      "SteeringExamPassed": 1,
      "AccountFullName": "sample string 7",
      "Eexam": "2025-10-25T21:12:27.4499982+03:00",
      "SteeringExamPassedDate": "2025-10-25T21:12:27.4499982+03:00",
      "EexamDate": "2025-10-25T21:12:27.4499982+03:00",
      "AccountTCKN": "sample string 8",
      "AccountMobilePhone": "sample string 9",
      "SteeringExamDate": "2025-10-25T21:12:27.4499982+03:00",
      "IsImportedEexamDate": 1,
      "GroupMemberLessonLimit": 1,
      "GroupMemberLessonUsedCount": 1,
      "OfficeName": "sample string 10",
      "Id": 11,
      "CreatedOn": "2025-10-25T21:12:27.4499982+03:00",
      "ModifiedOn": "2025-10-25T21:12:27.4499982+03:00",
      "Status": 12
    }
  ]
}

application/xml, text/xml

Sample:
<ResultModelOfArrayOfGroupMemberResponseModelIjrq4xa9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition">
    <d2p1:GroupMemberResponseModel>
      <CreatedOn>2025-10-25T21:12:27.4499982+03:00</CreatedOn>
      <Id>11</Id>
      <ModifiedOn>2025-10-25T21:12:27.4499982+03:00</ModifiedOn>
      <Status>12</Status>
      <d2p1:AccountFirstName>sample string 2</d2p1:AccountFirstName>
      <d2p1:AccountFullName>sample string 7</d2p1:AccountFullName>
      <d2p1:AccountId>1</d2p1:AccountId>
      <d2p1:AccountLastName>sample string 3</d2p1:AccountLastName>
      <d2p1:AccountMobilePhone>sample string 9</d2p1:AccountMobilePhone>
      <d2p1:AccountTCKN>sample string 8</d2p1:AccountTCKN>
      <d2p1:DrivingLicenseTypeId>1</d2p1:DrivingLicenseTypeId>
      <d2p1:DrivingLicenseTypeName>sample string 4</d2p1:DrivingLicenseTypeName>
      <d2p1:Eexam>2025-10-25T21:12:27.4499982+03:00</d2p1:Eexam>
      <d2p1:EexamDate>2025-10-25T21:12:27.4499982+03:00</d2p1:EexamDate>
      <d2p1:GearType>1</d2p1:GearType>
      <d2p1:GroupId>1</d2p1:GroupId>
      <d2p1:GroupMemberLessonLimit>1</d2p1:GroupMemberLessonLimit>
      <d2p1:GroupMemberLessonUsedCount>1</d2p1:GroupMemberLessonUsedCount>
      <d2p1:GroupName>sample string 1</d2p1:GroupName>
      <d2p1:IsImportedEexamDate>1</d2p1:IsImportedEexamDate>
      <d2p1:OfficeName>sample string 10</d2p1:OfficeName>
      <d2p1:PeriodEndDate>2025-10-25T21:12:27.4499982+03:00</d2p1:PeriodEndDate>
      <d2p1:PeriodId>1</d2p1:PeriodId>
      <d2p1:PeriodName>sample string 5</d2p1:PeriodName>
      <d2p1:PeriodStartDate>2025-10-25T21:12:27.4499982+03:00</d2p1:PeriodStartDate>
      <d2p1:SteeringExam>1</d2p1:SteeringExam>
      <d2p1:SteeringExamDate>2025-10-25T21:12:27.4499982+03:00</d2p1:SteeringExamDate>
      <d2p1:SteeringExamPassed>1</d2p1:SteeringExamPassed>
      <d2p1:SteeringExamPassedDate>2025-10-25T21:12:27.4499982+03:00</d2p1:SteeringExamPassedDate>
      <d2p1:TeacherFullName>sample string 6</d2p1:TeacherFullName>
      <d2p1:TeacherId>1</d2p1:TeacherId>
    </d2p1:GroupMemberResponseModel>
    <d2p1:GroupMemberResponseModel>
      <CreatedOn>2025-10-25T21:12:27.4499982+03:00</CreatedOn>
      <Id>11</Id>
      <ModifiedOn>2025-10-25T21:12:27.4499982+03:00</ModifiedOn>
      <Status>12</Status>
      <d2p1:AccountFirstName>sample string 2</d2p1:AccountFirstName>
      <d2p1:AccountFullName>sample string 7</d2p1:AccountFullName>
      <d2p1:AccountId>1</d2p1:AccountId>
      <d2p1:AccountLastName>sample string 3</d2p1:AccountLastName>
      <d2p1:AccountMobilePhone>sample string 9</d2p1:AccountMobilePhone>
      <d2p1:AccountTCKN>sample string 8</d2p1:AccountTCKN>
      <d2p1:DrivingLicenseTypeId>1</d2p1:DrivingLicenseTypeId>
      <d2p1:DrivingLicenseTypeName>sample string 4</d2p1:DrivingLicenseTypeName>
      <d2p1:Eexam>2025-10-25T21:12:27.4499982+03:00</d2p1:Eexam>
      <d2p1:EexamDate>2025-10-25T21:12:27.4499982+03:00</d2p1:EexamDate>
      <d2p1:GearType>1</d2p1:GearType>
      <d2p1:GroupId>1</d2p1:GroupId>
      <d2p1:GroupMemberLessonLimit>1</d2p1:GroupMemberLessonLimit>
      <d2p1:GroupMemberLessonUsedCount>1</d2p1:GroupMemberLessonUsedCount>
      <d2p1:GroupName>sample string 1</d2p1:GroupName>
      <d2p1:IsImportedEexamDate>1</d2p1:IsImportedEexamDate>
      <d2p1:OfficeName>sample string 10</d2p1:OfficeName>
      <d2p1:PeriodEndDate>2025-10-25T21:12:27.4499982+03:00</d2p1:PeriodEndDate>
      <d2p1:PeriodId>1</d2p1:PeriodId>
      <d2p1:PeriodName>sample string 5</d2p1:PeriodName>
      <d2p1:PeriodStartDate>2025-10-25T21:12:27.4499982+03:00</d2p1:PeriodStartDate>
      <d2p1:SteeringExam>1</d2p1:SteeringExam>
      <d2p1:SteeringExamDate>2025-10-25T21:12:27.4499982+03:00</d2p1:SteeringExamDate>
      <d2p1:SteeringExamPassed>1</d2p1:SteeringExamPassed>
      <d2p1:SteeringExamPassedDate>2025-10-25T21:12:27.4499982+03:00</d2p1:SteeringExamPassedDate>
      <d2p1:TeacherFullName>sample string 6</d2p1:TeacherFullName>
      <d2p1:TeacherId>1</d2p1:TeacherId>
    </d2p1:GroupMemberResponseModel>
  </Data>
  <Exception>sample string 3</Exception>
  <Message>sample string 2</Message>
  <Response>true</Response>
</ResultModelOfArrayOfGroupMemberResponseModelIjrq4xa9>