POST api/v{version}/Mobiel/AddRentRequest?key={key}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

API key

string

Required

version

string

None.

Body Parameters

Rent request object

RentRequest
NameDescriptionTypeAdditional information
ContactId

integer

None.

CriteriaSize

integer

None.

CriteriaType

string

None.

Image1

Collection of byte

None.

Image2

Collection of byte

None.

Image3

Collection of byte

None.

Image4

Collection of byte

None.

Insurance

boolean

None.

KotAddress

string

None.

ParentsPhone

string

None.

Reference1

string

None.

Reference2

string

None.

Reference3

string

None.

RequestPeriod

integer

None.

RequestStart

date

None.

StudentAddress

string

None.

StudentCardNumber

string

None.

StudentCellPhone

string

None.

StudentCountry

string

None.

StudentEmail

string

None.

StudentMunicipality

string

None.

StudentName

string

None.

StudentNationalInsuranceNumber

string

None.

StudentPostalCode

string

None.

StudentSchool

string

None.

Winkel

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactId": 1,
  "CriteriaSize": 1,
  "CriteriaType": "sample string 2",
  "Image1": "QEA=",
  "Image2": "QEA=",
  "Image3": "QEA=",
  "Image4": "QEA=",
  "Insurance": true,
  "KotAddress": "sample string 4",
  "ParentsPhone": "sample string 5",
  "Reference1": "sample string 6",
  "Reference2": "sample string 7",
  "Reference3": "sample string 8",
  "RequestPeriod": 9,
  "RequestStart": "2024-05-07T10:18:11.1299003+02:00",
  "StudentAddress": "sample string 11",
  "StudentCardNumber": "sample string 12",
  "StudentCellPhone": "sample string 13",
  "StudentCountry": "sample string 14",
  "StudentEmail": "sample string 15",
  "StudentMunicipality": "sample string 16",
  "StudentName": "sample string 17",
  "StudentNationalInsuranceNumber": "sample string 18",
  "StudentPostalCode": "sample string 19",
  "StudentSchool": "sample string 20",
  "Winkel": true
}

Response Information

Resource Description

RentRequestResult
NameDescriptionTypeAdditional information
ContactId

integer

None.

Exception

Exception

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ContactId": 1,
  "Exception": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "Success": true
}