GET api/extranet/TermsAndPolicies/GetTermsForArea?areaId={areaId}&onlineOrderId={onlineOrderId}&localeId={localeId}&country={country}&state={state}&county={county}&city={city}&postalCode={postalCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
areaId | integer |
Required |
|
onlineOrderId | integer |
None. |
|
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
Collection of TermsToAgreeViewModelName | Description | Type | Additional 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:
<ListOfTermsToAgreeViewModel> <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> <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> </ListOfTermsToAgreeViewModel>
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" }, { "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" } ]