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 ApplicationCppName | Description | Type | Additional information |
---|---|---|---|
ApplicationId | globally unique identifier |
None. |
|
Cpp | IdNamePair |
None. |
|
ProgramId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ApplicationId": "762cecc0-cbaf-4460-8ad9-b3d39f298bdd", "Cpp": { "Id": "3afe7a8c-56e7-4439-a6cd-ff26b0a323d8", "Name": "sample string 2" }, "ProgramId": "f78c7bc5-7ab9-4cf0-b4ef-71e1378aa783" }, { "ApplicationId": "762cecc0-cbaf-4460-8ad9-b3d39f298bdd", "Cpp": { "Id": "3afe7a8c-56e7-4439-a6cd-ff26b0a323d8", "Name": "sample string 2" }, "ProgramId": "f78c7bc5-7ab9-4cf0-b4ef-71e1378aa783" } ]
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>762cecc0-cbaf-4460-8ad9-b3d39f298bdd</ApplicationId> <Cpp xmlns:d3p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d3p1:Id>3afe7a8c-56e7-4439-a6cd-ff26b0a323d8</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Cpp> <ProgramId>f78c7bc5-7ab9-4cf0-b4ef-71e1378aa783</ProgramId> </ApplicationCpp> <ApplicationCpp> <ApplicationId>762cecc0-cbaf-4460-8ad9-b3d39f298bdd</ApplicationId> <Cpp xmlns:d3p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d3p1:Id>3afe7a8c-56e7-4439-a6cd-ff26b0a323d8</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Cpp> <ProgramId>f78c7bc5-7ab9-4cf0-b4ef-71e1378aa783</ProgramId> </ApplicationCpp> </ArrayOfApplicationCpp>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.