Davinci Meeting Rooms Mobile API

<back to all web services

SignInRequest

The following routes are available for this service:
POST/api/sign-in
SignInRequest Parameters:
NameParameterData TypeRequiredDescription
EmailAddressbodystringNo
PasswordbodystringNo
RequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
AppVersionformstringNo
SignInResponse Parameters:
NameParameterData TypeRequiredDescription
UserInfoformUserInfoNo
TokenformstringNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
SuccessmodelbooleanYes
ErrormodelResponseErrorNo
ResponseError Parameters:
NameParameterData TypeRequiredDescription
SummarymodelstringNo
MessagemodelstringNo
DetailsmodelstringNo
UserInfo Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
TypeformUserTypesNo
FirstNameformstringNo
LastNameformstringNo
EmailAddressformstringNo
CompanyNameformstringNo
PhoneNumberformstringNo
SavedPaymentInfoformSavedPaymentInfoNo
ThumbnailUrlformstringNo
SavedPaymentInfo Parameters:
NameParameterData TypeRequiredDescription
FirstNameformstringNo
LastNameformstringNo
CompanyNameformstringNo
Last4DigitsOfCreditCardNumberformstringNo
BillingAddressformAddressInfoNo
ExpirationDateformDateTimeNo
CardTypeformstringNo
HasCVVformboolNo
AddressInfo Parameters:
NameParameterData TypeRequiredDescription
Street1formstringNo
Street2formstringNo
Street3formstringNo
CityformstringNo
StateformstringNo
PostalCodeformstringNo
CountryformstringNo
LatitudeformdoubleNo
LongitudeformdoubleNo
TimeZoneIdformstringNo
HasStreet2formboolNo
CityStatePostalCodeformstringNo
SignInResponse Parameters:
NameParameterData TypeRequiredDescription
UserInfoformUserInfoNo
TokenformstringNo

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 /api/sign-in HTTP/1.1 
Host: api.davincimeetingrooms.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	EmailAddress: String,
	Password: String,
	AppVersion: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	UserInfo: 
	{
		Id: 0,
		Type: Account,
		FirstName: String,
		LastName: String,
		EmailAddress: String,
		CompanyName: String,
		PhoneNumber: String,
		SavedPaymentInfo: 
		{
			FirstName: String,
			LastName: String,
			CompanyName: String,
			Last4DigitsOfCreditCardNumber: String,
			BillingAddress: 
			{
				Street1: String,
				Street2: String,
				Street3: String,
				City: String,
				State: String,
				PostalCode: String,
				Country: String,
				Latitude: 0,
				Longitude: 0,
				TimeZoneId: String,
				HasStreet2: True,
				CityStatePostalCode: "String, String String"
			},
			CardType: String,
			HasCVV: False
		},
		ThumbnailUrl: String
	},
	Token: String,
	Success: False,
	Error: 
	{
		Summary: String,
		Message: String,
		Details: String
	}
}