POST Thirdparty/SaveFormsConsent

Request Information

URI Parameters

None.

Body Parameters

Collection of MYCII_EWS.BusinessObjects.ConsentData
NameDescriptionTypeAdditional information
ContactId

string

None.

ConsentId

integer

None.

ConsentText

string

None.

Method

string

None.

ConsentedFrom

string

None.

ConsentVersion

string

None.

IPAddress

string

None.

DeviceInfo

string

None.

EventId

string

None.

FormId

globally unique identifier

None.

ApplicationId

string

None.

OnlineRegistrationId

string

None.

IsAccepted

boolean

None.

Email

string

None.

B2BDetails

Collection of MYCII_EWS.BusinessObjects.B2BConsentData

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ContactId": "sample string 1",
    "ConsentId": 2,
    "ConsentText": "sample string 3",
    "Method": "sample string 4",
    "ConsentedFrom": "sample string 5",
    "ConsentVersion": "sample string 6",
    "IPAddress": "sample string 7",
    "DeviceInfo": "sample string 8",
    "EventId": "sample string 9",
    "FormId": "feb64c11-ae9c-4f7a-b375-45b3aad3de35",
    "ApplicationId": "sample string 10",
    "OnlineRegistrationId": "sample string 11",
    "IsAccepted": true,
    "Email": "sample string 13",
    "B2BDetails": [
      {
        "ContactId": "sample string 1",
        "ConsentId": 2,
        "Sectors": "sample string 3",
        "B2BNetworkingAreaId": "sample string 4",
        "Objective": "sample string 5",
        "ConsentedFrom": "sample string 6",
        "ConsentText": "sample string 7",
        "Email": "sample string 8"
      },
      {
        "ContactId": "sample string 1",
        "ConsentId": 2,
        "Sectors": "sample string 3",
        "B2BNetworkingAreaId": "sample string 4",
        "Objective": "sample string 5",
        "ConsentedFrom": "sample string 6",
        "ConsentText": "sample string 7",
        "Email": "sample string 8"
      }
    ]
  },
  {
    "ContactId": "sample string 1",
    "ConsentId": 2,
    "ConsentText": "sample string 3",
    "Method": "sample string 4",
    "ConsentedFrom": "sample string 5",
    "ConsentVersion": "sample string 6",
    "IPAddress": "sample string 7",
    "DeviceInfo": "sample string 8",
    "EventId": "sample string 9",
    "FormId": "feb64c11-ae9c-4f7a-b375-45b3aad3de35",
    "ApplicationId": "sample string 10",
    "OnlineRegistrationId": "sample string 11",
    "IsAccepted": true,
    "Email": "sample string 13",
    "B2BDetails": [
      {
        "ContactId": "sample string 1",
        "ConsentId": 2,
        "Sectors": "sample string 3",
        "B2BNetworkingAreaId": "sample string 4",
        "Objective": "sample string 5",
        "ConsentedFrom": "sample string 6",
        "ConsentText": "sample string 7",
        "Email": "sample string 8"
      },
      {
        "ContactId": "sample string 1",
        "ConsentId": 2,
        "Sectors": "sample string 3",
        "B2BNetworkingAreaId": "sample string 4",
        "Objective": "sample string 5",
        "ConsentedFrom": "sample string 6",
        "ConsentText": "sample string 7",
        "Email": "sample string 8"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfConsentData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ConsentData>
    <ContactId>sample string 1</ContactId>
    <ConsentId>2</ConsentId>
    <ConsentText>sample string 3</ConsentText>
    <Method>sample string 4</Method>
    <ConsentedFrom>sample string 5</ConsentedFrom>
    <ConsentVersion>sample string 6</ConsentVersion>
    <IPAddress>sample string 7</IPAddress>
    <DeviceInfo>sample string 8</DeviceInfo>
    <EventId>sample string 9</EventId>
    <FormId>feb64c11-ae9c-4f7a-b375-45b3aad3de35</FormId>
    <ApplicationId>sample string 10</ApplicationId>
    <OnlineRegistrationId>sample string 11</OnlineRegistrationId>
    <IsAccepted>true</IsAccepted>
    <Email>sample string 13</Email>
    <B2BDetails>
      <B2BConsentData>
        <ContactId>sample string 1</ContactId>
        <ConsentId>2</ConsentId>
        <Sectors>sample string 3</Sectors>
        <B2BNetworkingAreaId>sample string 4</B2BNetworkingAreaId>
        <Objective>sample string 5</Objective>
        <ConsentedFrom>sample string 6</ConsentedFrom>
        <ConsentText>sample string 7</ConsentText>
        <Email>sample string 8</Email>
      </B2BConsentData>
      <B2BConsentData>
        <ContactId>sample string 1</ContactId>
        <ConsentId>2</ConsentId>
        <Sectors>sample string 3</Sectors>
        <B2BNetworkingAreaId>sample string 4</B2BNetworkingAreaId>
        <Objective>sample string 5</Objective>
        <ConsentedFrom>sample string 6</ConsentedFrom>
        <ConsentText>sample string 7</ConsentText>
        <Email>sample string 8</Email>
      </B2BConsentData>
    </B2BDetails>
  </ConsentData>
  <ConsentData>
    <ContactId>sample string 1</ContactId>
    <ConsentId>2</ConsentId>
    <ConsentText>sample string 3</ConsentText>
    <Method>sample string 4</Method>
    <ConsentedFrom>sample string 5</ConsentedFrom>
    <ConsentVersion>sample string 6</ConsentVersion>
    <IPAddress>sample string 7</IPAddress>
    <DeviceInfo>sample string 8</DeviceInfo>
    <EventId>sample string 9</EventId>
    <FormId>feb64c11-ae9c-4f7a-b375-45b3aad3de35</FormId>
    <ApplicationId>sample string 10</ApplicationId>
    <OnlineRegistrationId>sample string 11</OnlineRegistrationId>
    <IsAccepted>true</IsAccepted>
    <Email>sample string 13</Email>
    <B2BDetails>
      <B2BConsentData>
        <ContactId>sample string 1</ContactId>
        <ConsentId>2</ConsentId>
        <Sectors>sample string 3</Sectors>
        <B2BNetworkingAreaId>sample string 4</B2BNetworkingAreaId>
        <Objective>sample string 5</Objective>
        <ConsentedFrom>sample string 6</ConsentedFrom>
        <ConsentText>sample string 7</ConsentText>
        <Email>sample string 8</Email>
      </B2BConsentData>
      <B2BConsentData>
        <ContactId>sample string 1</ContactId>
        <ConsentId>2</ConsentId>
        <Sectors>sample string 3</Sectors>
        <B2BNetworkingAreaId>sample string 4</B2BNetworkingAreaId>
        <Objective>sample string 5</Objective>
        <ConsentedFrom>sample string 6</ConsentedFrom>
        <ConsentText>sample string 7</ConsentText>
        <Email>sample string 8</Email>
      </B2BConsentData>
    </B2BDetails>
  </ConsentData>
</ArrayOfConsentData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.