POST api/SubmitOnlineApplication?OnlineAppId={OnlineAppId}&EthnicityId={EthnicityId}&LanguageId={LanguageId}&shareInfo={shareInfo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
OnlineAppId

integer

Required

EthnicityId

integer

Required

LanguageId

integer

Required

shareInfo

boolean

Required

Body Parameters

Collection of RacialandOtherBenefitsModel
NameDescriptionTypeAdditional information
RaceId

integer

None.

IsSelected

boolean

None.

OtherBenefitId

integer

None.

HasBenefits

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "RaceId": 1,
    "IsSelected": true,
    "OtherBenefitId": 1,
    "HasBenefits": true
  },
  {
    "RaceId": 1,
    "IsSelected": true,
    "OtherBenefitId": 1,
    "HasBenefits": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfRacialandOtherBenefitsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.ReviewApplication">
  <RacialandOtherBenefitsModel>
    <HasBenefits>true</HasBenefits>
    <IsSelected>true</IsSelected>
    <OtherBenefitId>1</OtherBenefitId>
    <RaceId>1</RaceId>
  </RacialandOtherBenefitsModel>
  <RacialandOtherBenefitsModel>
    <HasBenefits>true</HasBenefits>
    <IsSelected>true</IsSelected>
    <OtherBenefitId>1</OtherBenefitId>
    <RaceId>1</RaceId>
  </RacialandOtherBenefitsModel>
</ArrayOfRacialandOtherBenefitsModel>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>