POST api/credentials/create
Request Information
URI Parameters
None.
Body Parameters
credential| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| UserAddress | string |
None. |
|
| Password | string |
None. |
|
| APIToken | string |
None. |
|
| AuthenticationCode | string |
None. |
|
| AccountIsActive | boolean |
None. |
|
| LoggedIn | boolean |
None. |
|
| MyTwoFactorAuthenticationEnable | boolean |
None. |
|
| LastLoggingDate | date |
None. |
|
| ExpirationTokenDate | date |
None. |
|
| AuthenticationCodeExpirationDate | date |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| DeletedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "d559eb37-4255-4a9f-83df-57bcd2f01859",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"UserAddress": "sample string 4",
"Password": "sample string 5",
"APIToken": "sample string 6",
"AuthenticationCode": "sample string 7",
"AccountIsActive": true,
"LoggedIn": true,
"MyTwoFactorAuthenticationEnable": true,
"LastLoggingDate": "2025-12-05T20:24:05.0291409-08:00",
"ExpirationTokenDate": "2025-12-05T20:24:05.0291409-08:00",
"AuthenticationCodeExpirationDate": "2025-12-05T20:24:05.0291409-08:00",
"CreatedDate": "2025-12-05T20:24:05.0291409-08:00",
"ModifiedDate": "2025-12-05T20:24:05.0291409-08:00",
"DeletedDate": "2025-12-05T20:24:05.0291409-08:00"
}
application/xml, text/xml
Sample:
<credential xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuickDoctor.Dal.Models"> <APIToken>sample string 6</APIToken> <AccountIsActive>true</AccountIsActive> <AuthenticationCode>sample string 7</AuthenticationCode> <AuthenticationCodeExpirationDate>2025-12-05T20:24:05.0291409-08:00</AuthenticationCodeExpirationDate> <CreatedDate>2025-12-05T20:24:05.0291409-08:00</CreatedDate> <DeletedDate>2025-12-05T20:24:05.0291409-08:00</DeletedDate> <ExpirationTokenDate>2025-12-05T20:24:05.0291409-08:00</ExpirationTokenDate> <FirstName>sample string 2</FirstName> <Id>d559eb37-4255-4a9f-83df-57bcd2f01859</Id> <LastLoggingDate>2025-12-05T20:24:05.0291409-08:00</LastLoggingDate> <LastName>sample string 3</LastName> <LoggedIn>true</LoggedIn> <ModifiedDate>2025-12-05T20:24:05.0291409-08:00</ModifiedDate> <MyTwoFactorAuthenticationEnable>true</MyTwoFactorAuthenticationEnable> <Password>sample string 5</Password> <UserAddress>sample string 4</UserAddress> </credential>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Credentials| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| UserAddress | string |
None. |
|
| Password | string |
None. |
|
| LoggedIn | boolean |
None. |
|
| AccountIsActive | boolean |
None. |
|
| LastLoggingDate | date |
None. |
|
| APIToken | string |
None. |
|
| ExpirationTokenDate | date |
None. |
|
| AuthenticationCodeExpirationDate | date |
None. |
|
| AuthenticationCode | string |
None. |
|
| MyTwoFactorAuthenticationEnabled | boolean |
None. |
|
| Id | globally unique identifier |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| DeletedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"UserAddress": "sample string 3",
"Password": "sample string 4",
"LoggedIn": true,
"AccountIsActive": true,
"LastLoggingDate": "2025-12-05T20:24:05.0351332-08:00",
"APIToken": "sample string 8",
"ExpirationTokenDate": "2025-12-05T20:24:05.0351332-08:00",
"AuthenticationCodeExpirationDate": "2025-12-05T20:24:05.0351332-08:00",
"AuthenticationCode": "sample string 11",
"MyTwoFactorAuthenticationEnabled": true,
"Id": "e294aa5e-04fe-4a7a-a3f3-53c612b90adb",
"CreatedDate": "2025-12-05T20:24:05.0351332-08:00",
"ModifiedDate": "2025-12-05T20:24:05.0351332-08:00",
"DeletedDate": "2025-12-05T20:24:05.0351332-08:00"
}
application/xml, text/xml
Sample:
<Credentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuicDoctor.Data.Data"> <CreatedDate>2025-12-05T20:24:05.0351332-08:00</CreatedDate> <DeletedDate>2025-12-05T20:24:05.0351332-08:00</DeletedDate> <Id>e294aa5e-04fe-4a7a-a3f3-53c612b90adb</Id> <ModifiedDate>2025-12-05T20:24:05.0351332-08:00</ModifiedDate> <APIToken>sample string 8</APIToken> <AccountIsActive>true</AccountIsActive> <AuthenticationCode>sample string 11</AuthenticationCode> <AuthenticationCodeExpirationDate>2025-12-05T20:24:05.0351332-08:00</AuthenticationCodeExpirationDate> <ExpirationTokenDate>2025-12-05T20:24:05.0351332-08:00</ExpirationTokenDate> <FirstName>sample string 1</FirstName> <LastLoggingDate>2025-12-05T20:24:05.0351332-08:00</LastLoggingDate> <LastName>sample string 2</LastName> <LoggedIn>true</LoggedIn> <MyTwoFactorAuthenticationEnabled>true</MyTwoFactorAuthenticationEnabled> <Password>sample string 4</Password> <UserAddress>sample string 3</UserAddress> </Credentials>