Host

<back to all web services

AccountRegisterationInitRequest

The following routes are available for this service:
POST/UserAccount/AccountRegisterationInit

export class AccountRegisterationInitResponse
{
    public LocationCountryId: number;
    public ErrorMsg: string;
    public IsVerified: boolean;
    public RequestId: string;
    public PinCodeRequestEnabled: boolean;
    public BypassMobileAuthentication: boolean;
    public ResponseStatus: ResponseStatus;

    public constructor(init?: Partial<AccountRegisterationInitResponse>) { (Object as any).assign(this, init); }
}

export class AccountRegisterationInitRequest
{
    public MobileNumber: string;
    public IsoCode: string;
    public AttemptNumber: number;

    public constructor(init?: Partial<AccountRegisterationInitRequest>) { (Object as any).assign(this, init); }
}

TypeScript AccountRegisterationInitRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /UserAccount/AccountRegisterationInit HTTP/1.1 
Host: api-demo-1.cura.healthcare 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	MobileNumber: String,
	IsoCode: String,
	AttemptNumber: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	LocationCountryId: 0,
	ErrorMsg: String,
	IsVerified: False,
	RequestId: String,
	PinCodeRequestEnabled: False,
	BypassMobileAuthentication: False,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}