GET api/extranet/TermsAndPolicies/GetTermToAgree?areaId={areaId}&localeId={localeId}&country={country}&state={state}&county={county}&city={city}&postalCode={postalCode}

Get Terms and Policies to Agree, filtered by parameters sent by user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
areaId

integer

Required

localeId

integer

Default value is 1

country

string

Default value is

state

string

Default value is

county

string

Default value is

city

string

Default value is

postalCode

string

Default value is

Body Parameters

None.

Response Information

Resource Description

TermsToAgreeViewModel
NameDescriptionTypeAdditional information
TermId

integer

None.

DocumentText

string

None.

DocumentURL

string

None.

LinkLabel

string

None.

ValidationMessage

string

None.

IsAgreedTo

boolean

None.

IsChecked

boolean

None.

Description

string

None.

Response Formats

application/xml, text/xml

Sample:
<TermsToAgreeViewModel>
  <TermId>1</TermId>
  <DocumentText>sample string 2</DocumentText>
  <DocumentURL>sample string 3</DocumentURL>
  <LinkLabel>sample string 4</LinkLabel>
  <ValidationMessage>sample string 5</ValidationMessage>
  <IsAgreedTo>True</IsAgreedTo>
  <IsChecked>True</IsChecked>
  <Description>sample string 8</Description>
</TermsToAgreeViewModel>

application/json, text/json

Sample:
{
  "TermId": 1,
  "DocumentText": "sample string 2",
  "DocumentURL": "sample string 3",
  "LinkLabel": "sample string 4",
  "ValidationMessage": "sample string 5",
  "IsAgreedTo": true,
  "IsChecked": true,
  "Description": "sample string 8"
}