POST api/TrailUserAccount?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": "95d450b3-3db7-4993-9279-65ce2fa01d01", "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": "174ce466-378c-4118-b827-6eb08842a441", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Longitude": 11.1, "Latitude": 12.1, "BranchType": { "BranchTypeID": "b489fef9-6862-4e10-b4b9-a8892d975447", "Name": "sample string 2", "Attachment": { "AttachmentID": "174ce466-378c-4118-b827-6eb08842a441", "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": "11d50d9a-4d53-442d-b040-8a828c738b81", "Name": "sample string 2", "Description": "sample string 3", "Features": [ 1, 2 ], "UserRoleUpgardeAccessList": [ { "UserRoleID": "a4a4a82f-fb8a-43f0-87c1-b9bb7f451082", "FromTariffGroupId": "21c6f739-b240-40bf-9fc5-7bc8d7b87210", "FromTariffGroup": "sample string 2", "ToTariffGroupId": "f4f84848-8960-481e-961e-20f7e030a3de", "ToTariffGroup": "sample string 3", "IsDeleted": true }, { "UserRoleID": "a4a4a82f-fb8a-43f0-87c1-b9bb7f451082", "FromTariffGroupId": "21c6f739-b240-40bf-9fc5-7bc8d7b87210", "FromTariffGroup": "sample string 2", "ToTariffGroupId": "f4f84848-8960-481e-961e-20f7e030a3de", "ToTariffGroup": "sample string 3", "IsDeleted": true } ], "RentalAllowedDisc": 4, "IRRMargin": 5, "AdditionalAllowedKm": 6, "IsAllowUpgrade": true, "IsAllowDebtorDiscount": true, "IsAllowBackDatedEntries": true, "BackdaysAllowed": 10, "CreatedBy": "ce6571d7-c29b-465f-8ff5-9015684d3605", "CreatedOn": "2023-12-10T15:33:47.8807937+04:00", "ModifiedBy": "5e570ff0-9bb4-449e-b2bf-dd6a32130350", "ModifiedOn": "2023-12-10T15:33:47.8807937+04:00", "IsDeleted": true }, "CompanySetting": { "Name": "sample string 2", "TimeZoneID": "sample string 3", "DateFormat": "sample string 4", "TimeFormat": "sample string 5", "Attachment": { "AttachmentID": "174ce466-378c-4118-b827-6eb08842a441", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "CurrencyCode": "sample string 10", "IsAllowOverlappingTransaction": true }, "StaffStatus": 1, "ClientID": "f2e51476-ddb1-4b54-bab1-7ecf1e0390e6", "UserExpiryOn": "2023-12-10T15:33:47.8807937+04:00", "PasswordHash": "sample string 8", "Password": "sample string 9", "UsedPassword": [ { "PasswordHash": "sample string 1", "UpdatedDate": "2023-12-10T15:33:47.8807937+04:00" }, { "PasswordHash": "sample string 1", "UpdatedDate": "2023-12-10T15:33:47.8807937+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": "a6158f89-61fa-4d27-9872-d6bc2dd2fd0e", "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>