POST Api/NewIDCard/Create
Request Information
URI Parameters
None.
Body Parameters
NewIDCard| Name | Description | Type | Additional information |
|---|---|---|---|
| SchoolID | globally unique identifier |
None. |
|
| SchoolName | string |
None. |
|
| ParentID | globally unique identifier |
None. |
|
| ParentName | string |
None. |
|
| StudentID | globally unique identifier |
None. |
|
| StudentNo | string |
None. |
|
| StudentName | string |
None. |
|
| Note | string |
None. |
|
| Status | NewIDCardStatus |
None. |
|
| StatusNote | string |
None. |
|
| RequestOn | date |
None. |
|
| Code | string |
None. |
|
| KeyCode | integer |
None. |
|
| RespondedOn | date |
None. |
|
| RespondedBy | globally unique identifier |
None. |
|
| RespondedByName | string |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| OldRFID | string |
None. |
|
| NewRFID | string |
None. |
|
| Class | string |
None. |
|
| Division | string |
None. |
|
| TripName | string |
None. |
|
| DriverName | string |
None. |
|
| Id | globally unique identifier |
None. |
|
| UserName | string |
None. |
|
| UserID | globally unique identifier |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedOn | date |
None. |
|
| ClientID | globally unique identifier |
None. |
|
| ClientName | string |
None. |
|
| PartnerID | globally unique identifier |
None. |
|
| PartnerName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SchoolID": "37b508fa-77a9-4732-95ba-9bed2769483f",
"SchoolName": "sample string 2",
"ParentID": "80b88c41-7e37-4cac-b64f-1f6f84861d1b",
"ParentName": "sample string 4",
"StudentID": "2d462d8c-7db3-44f8-a5c1-01338d8dabdb",
"StudentNo": "sample string 6",
"StudentName": "sample string 7",
"Note": "sample string 8",
"Status": 0,
"StatusNote": "sample string 9",
"RequestOn": "2026-06-06T03:36:07.3467821+04:00",
"Code": "sample string 11",
"KeyCode": 12,
"RespondedOn": "2026-06-06T03:36:07.3467821+04:00",
"RespondedBy": "4f23c8f6-239e-41a7-a6ba-4a03140be2be",
"RespondedByName": "sample string 15",
"FromDate": "2026-06-06T03:36:07.3467821+04:00",
"ToDate": "2026-06-06T03:36:07.3467821+04:00",
"OldRFID": "sample string 18",
"NewRFID": "sample string 19",
"Class": "sample string 20",
"Division": "sample string 21",
"TripName": "sample string 22",
"DriverName": "sample string 23",
"Id": "5941e6d8-4914-4dd6-9e95-7cc1f1d6a1ca",
"UserName": "sample string 25",
"UserID": "afb50d99-acd4-4af0-8d5a-b656f078d2d0",
"CreatedBy": "sample string 27",
"CreatedOn": "2026-06-06T03:36:07.3467821+04:00",
"ClientID": "5a151d47-848a-4a80-bbfc-05d4a183ab15",
"ClientName": "sample string 30",
"PartnerID": "07ef1c17-0e2a-40ed-97d6-d63d60b3cf5a",
"PartnerName": "sample string 32"
}
application/xml, text/xml
Sample:
<NewIDCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity.Schools"> <ClientID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">5a151d47-848a-4a80-bbfc-05d4a183ab15</ClientID> <ClientName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 30</ClientName> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 27</CreatedBy> <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">2026-06-06T03:36:07.3467821+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">5941e6d8-4914-4dd6-9e95-7cc1f1d6a1ca</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">07ef1c17-0e2a-40ed-97d6-d63d60b3cf5a</PartnerID> <PartnerName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 32</PartnerName> <UserID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">afb50d99-acd4-4af0-8d5a-b656f078d2d0</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 25</UserName> <Class>sample string 20</Class> <Code>sample string 11</Code> <Division>sample string 21</Division> <DriverName>sample string 23</DriverName> <FromDate>2026-06-06T03:36:07.3467821+04:00</FromDate> <KeyCode>12</KeyCode> <NewRFID>sample string 19</NewRFID> <Note>sample string 8</Note> <OldRFID>sample string 18</OldRFID> <ParentID>80b88c41-7e37-4cac-b64f-1f6f84861d1b</ParentID> <ParentName>sample string 4</ParentName> <RequestOn>2026-06-06T03:36:07.3467821+04:00</RequestOn> <RespondedBy>4f23c8f6-239e-41a7-a6ba-4a03140be2be</RespondedBy> <RespondedByName>sample string 15</RespondedByName> <RespondedOn>2026-06-06T03:36:07.3467821+04:00</RespondedOn> <SchoolID>37b508fa-77a9-4732-95ba-9bed2769483f</SchoolID> <SchoolName>sample string 2</SchoolName> <Status>Pending</Status> <StatusNote>sample string 9</StatusNote> <StudentID>2d462d8c-7db3-44f8-a5c1-01338d8dabdb</StudentID> <StudentName>sample string 7</StudentName> <StudentNo>sample string 6</StudentNo> <ToDate>2026-06-06T03:36:07.3467821+04:00</ToDate> <TripName>sample string 22</TripName> </NewIDCard>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid | boolean |
None. |
|
| Message | Collection of string |
None. |
|
| ResponseCodes | Collection of integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| Value | string |
None. |
|
| RecordOn | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsValid": true,
"Message": [
"sample string 1",
"sample string 2"
],
"ResponseCodes": [
1,
2
],
"Id": "1dc830d6-5197-4dae-a7c4-59cf4dfff3e0",
"Value": "sample string 3",
"RecordOn": "2026-06-06T03:36:07.3467821+04:00"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<Id>1dc830d6-5197-4dae-a7c4-59cf4dfff3e0</Id>
<IsValid>true</IsValid>
<Message xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Message>
<RecordOn>2026-06-06T03:36:07.3467821+04:00</RecordOn>
<ResponseCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ResponseCodes>
<Value>sample string 3</Value>
</Result>