POST api/extranet/TermsAndPolicies/AgreeToTerms?repDID={repDID}&customerDID={customerDID}&onlineSignupID={onlineSignupID}&ipAddress={ipAddress}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repDID

string

Default value is

customerDID

string

Default value is

onlineSignupID

integer

Default value is 0

ipAddress

string

None.

Body Parameters

Collection of 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.

Request 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"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/xml, text/xml, application/json, text/json

Sample:

Sample not available.