GET api/Terms?countryId={countryId}

Get latest terms and conditions by countryId. Each user must accept terms and conditions. Authorization by token is required.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryId

Id for the country you request content for.

integer

Required

You can get countryId with GET api/Country

Body Parameters

None.

Response Information

NameDescriptionTypeAdditional information
TermsAndConditionsId

Id for terms and conditions

integer

You can use TermsAndConditionsId with the method to accept terms and conditions POST api/Terms/Accept/{id}

Text

Text

string

None.

Version

The number of latest version

string

None.

MustBeAccepted

Must be accepted flag

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "termsAndConditionsId": 1,
  "text": "sample string 2",
  "version": "sample string 3",
  "mustBeAccepted": true
}