POST applications/{applicationUid}/consents

Request Information

URI Parameters

NameDescriptionTypeAdditional information
applicationUid

globally unique identifier

Required

Body Parameters

AgreementConsentModel
NameDescriptionTypeAdditional information
AgreementType

AgreementType

None.

Initials

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AgreementType": 1,
  "Initials": "sample string 1"
}

application/xml, text/xml

Sample:
<AgreementConsentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBI.WebAPI.RegistrationGateway.Business.Models.Registration.Shared">
  <AgreementType>CustomerAgreement</AgreementType>
  <Initials>sample string 1</Initials>
</AgreementConsentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AgreementConsent
NameDescriptionTypeAdditional information
Uid

globally unique identifier

None.

AgreementType

AgreementType

None.

Initials

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Uid": "5d44a955-78b5-4bd5-803c-be0e174b1612",
  "AgreementType": 1,
  "Initials": "sample string 2"
}

application/xml, text/xml

Sample:
<AgreementConsent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBI.WebAPI.RegistrationGateway.Business.Models.Registration">
  <AgreementType>CustomerAgreement</AgreementType>
  <Initials>sample string 2</Initials>
  <Uid>5d44a955-78b5-4bd5-803c-be0e174b1612</Uid>
</AgreementConsent>