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": "85b81a9f-5e62-41d6-935e-e25fdfba313c",
  "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>85b81a9f-5e62-41d6-935e-e25fdfba313c</Uid>
</AgreementConsent>