POST api/TrailUserAccount/Insert?apiKey={apiKey}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
Body Parameters
UserInfoName | Description | Type | Additional information |
---|---|---|---|
AspNetUserId | string |
None. |
|
string |
None. |
||
Name | string |
None. |
|
UserType | UserType |
None. |
|
PhoneNumber | string |
None. |
|
Hometown | string |
None. |
|
Branch | Branch |
None. |
|
UserRole | UserRole |
None. |
|
CompanySetting | CompanySetting |
None. |
|
StaffStatus | StaffStatus |
None. |
|
ClientID | globally unique identifier |
None. |
|
UserExpiryOn | date |
None. |
|
PasswordHash | string |
None. |
|
Password | string |
None. |
|
UsedPassword | Collection of UserUsedPassword |
None. |
|
BookingSetting | BookingSetting |
None. |
|
SelectedBranchID | globally unique identifier |
None. |
|
SelectedBranchName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AspNetUserId": "sample string 1", "Email": "sample string 2", "Name": "sample string 3", "UserType": 0, "PhoneNumber": "sample string 4", "Hometown": "sample string 5", "Branch": { "Identity": { "Id": "8a9f6f3d-ccfb-40aa-8a90-d072f3a15159", "Code": "sample string 2" }, "CountryState": { "StateCode": "sample string 2", "StateName": "sample string 3", "CountryCode": "sample string 4", "CountryName": "sample string 5", "NationalityCode": "sample string 6", "NationalityName": "sample string 7" }, "Name": "sample string 4", "Address": "sample string 5", "ContactNo": "sample string 6", "TelephoneNo": "sample string 7", "EmailID": "sample string 8", "Attachment": { "AttachmentID": "c1758a2a-468f-4ea6-9401-a3dfd5c6e317", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Longitude": 11.1, "Latitude": 12.1, "BranchType": { "BranchTypeID": "cce075e9-51d2-4f4c-957c-30508d4d3bcd", "Name": "sample string 2", "Attachment": { "AttachmentID": "c1758a2a-468f-4ea6-9401-a3dfd5c6e317", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" } }, "HoursToGetReady": 15, "Description": "sample string 18", "Message": "sample string 19", "BranchOfficeTiming": {}, "GoogleLocationURL": "sample string 20" }, "UserRole": { "UserRoleID": "52fb7c13-be70-4e8c-8b52-f1d0bfb4611d", "Name": "sample string 2", "Description": "sample string 3", "Features": [ 1, 2 ], "UserRoleUpgardeAccessList": [ { "UserRoleID": "26380b96-0207-4e7f-bd0c-19f561f68818", "FromTariffGroupId": "d7fdd2af-9558-4962-9853-f4ae2401e8e3", "FromTariffGroup": "sample string 2", "ToTariffGroupId": "0a18f0f3-cded-477c-9c73-278715ede053", "ToTariffGroup": "sample string 3", "IsDeleted": true }, { "UserRoleID": "26380b96-0207-4e7f-bd0c-19f561f68818", "FromTariffGroupId": "d7fdd2af-9558-4962-9853-f4ae2401e8e3", "FromTariffGroup": "sample string 2", "ToTariffGroupId": "0a18f0f3-cded-477c-9c73-278715ede053", "ToTariffGroup": "sample string 3", "IsDeleted": true } ], "RentalAllowedDisc": 4, "IRRMargin": 5, "AdditionalAllowedKm": 6, "IsAllowUpgrade": true, "IsAllowDebtorDiscount": true, "IsAllowBackDatedEntries": true, "BackdaysAllowed": 10, "CreatedBy": "869786bc-a97d-437a-ab51-95277022d73b", "CreatedOn": "2023-12-08T20:46:32.758143+04:00", "ModifiedBy": "1d1470f0-9f8e-4edc-a468-4e6c1a143caa", "ModifiedOn": "2023-12-08T20:46:32.758143+04:00", "IsDeleted": true }, "CompanySetting": { "Name": "sample string 2", "TimeZoneID": "sample string 3", "DateFormat": "sample string 4", "TimeFormat": "sample string 5", "Attachment": { "AttachmentID": "c1758a2a-468f-4ea6-9401-a3dfd5c6e317", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "CurrencyCode": "sample string 10", "IsAllowOverlappingTransaction": true }, "StaffStatus": 1, "ClientID": "444c650a-2b1d-4189-9c33-623eba8d3006", "UserExpiryOn": "2023-12-08T20:46:32.758143+04:00", "PasswordHash": "sample string 8", "Password": "sample string 9", "UsedPassword": [ { "PasswordHash": "sample string 1", "UpdatedDate": "2023-12-08T20:46:32.758143+04:00" }, { "PasswordHash": "sample string 1", "UpdatedDate": "2023-12-08T20:46:32.758143+04:00" } ], "BookingSetting": { "TimeSplitInMinutes": 6, "BookingPortalInformation": { "PortalURL": "sample string 1", "CustomerCareNumber": "sample string 2", "CustomerCareEmailID": "sample string 3", "WhatsAppContactNo": "sample string 4", "CallContactNo": "sample string 5" } }, "SelectedBranchID": "d168260f-aa95-4a9b-b7c1-71a1dee1160b", "SelectedBranchName": "sample string 11" }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultWithDataOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Data | boolean |
None. |
|
Status | ErrorCode |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": true, "Status": 1, "Message": "sample string 2" }
application/xml, text/xml
Sample:
<ApiResultWithDataOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Service.Models"> <Message>sample string 2</Message> <Status>Success</Status> <Data>true</Data> </ApiResultWithDataOfboolean>