POST api/applications/cpp

Add CPP to Applications by passing a list of ApplicationId and CPPId

Request Information

URI Parameters

None.

Body Parameters

Collection of ApplicationCpp
NameDescriptionTypeAdditional information
ApplicationId

globally unique identifier

None.

Cpp

IdNamePair

None.

ProgramId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ApplicationId": "9ee70668-29e5-42b8-85c1-02296fd20a32",
    "Cpp": {
      "Id": "df38cc0d-b321-44c1-80d9-b81984d31501",
      "Name": "sample string 2"
    },
    "ProgramId": "27379a63-bb46-408f-9fc9-2b547bd52ff5"
  },
  {
    "ApplicationId": "9ee70668-29e5-42b8-85c1-02296fd20a32",
    "Cpp": {
      "Id": "df38cc0d-b321-44c1-80d9-b81984d31501",
      "Name": "sample string 2"
    },
    "ProgramId": "27379a63-bb46-408f-9fc9-2b547bd52ff5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfApplicationCpp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <ApplicationCpp>
    <ApplicationId>9ee70668-29e5-42b8-85c1-02296fd20a32</ApplicationId>
    <Cpp xmlns:d3p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
      <d3p1:Id>df38cc0d-b321-44c1-80d9-b81984d31501</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
    </Cpp>
    <ProgramId>27379a63-bb46-408f-9fc9-2b547bd52ff5</ProgramId>
  </ApplicationCpp>
  <ApplicationCpp>
    <ApplicationId>9ee70668-29e5-42b8-85c1-02296fd20a32</ApplicationId>
    <Cpp xmlns:d3p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
      <d3p1:Id>df38cc0d-b321-44c1-80d9-b81984d31501</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
    </Cpp>
    <ProgramId>27379a63-bb46-408f-9fc9-2b547bd52ff5</ProgramId>
  </ApplicationCpp>
</ArrayOfApplicationCpp>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.