POST PackageInsertorUpdate/{packageUniqueId}/{type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
packageUniqueId

Required

type

Required

Body Parameters

NameDescriptionTypeAdditional information
uniqueId

None.

PackageName

None.

Description

None.

Expertise

None.

Academy

None.

Skill

None.

Genre

None.

Category

None.

YorbitCourseUniqueIds

None.

ModifiedBy

None.

ModifiedDate

None.

RepoType

None.

RepoId

None.

RepoName

None.

AccountCourseUniqueIDs

None.

ProjectCourseUniqueIDs

None.

CoursesOrder

None.

Duration

None.

PackageStatus

None.

DraftedBy

None.

Request Formats

application/json, text/json

Sample:
{
  "uniqueId": "sample string 1",
  "PackageName": "sample string 2",
  "Description": "sample string 3",
  "Expertise": "sample string 4",
  "Academy": "sample string 5",
  "Skill": "sample string 6",
  "Genre": "sample string 7",
  "Category": "sample string 8",
  "YorbitCourseUniqueIds": [
    "sample string 1",
    "sample string 2"
  ],
  "ModifiedBy": "sample string 9",
  "ModifiedDate": "2024-11-21T09:36:37.8161368+00:00",
  "RepoType": "sample string 11",
  "RepoId": "sample string 12",
  "RepoName": "sample string 13",
  "AccountCourseUniqueIDs": [
    "sample string 1",
    "sample string 2"
  ],
  "ProjectCourseUniqueIDs": [
    "sample string 1",
    "sample string 2"
  ],
  "CoursesOrder": [
    "sample string 1",
    "sample string 2"
  ],
  "Duration": "sample string 14",
  "PackageStatus": "sample string 15",
  "DraftedBy": "sample string 16"
}

application/xml, text/xml

Sample:
<PackageInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models">
  <Academy>sample string 5</Academy>
  <AccountCourseUniqueIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AccountCourseUniqueIDs>
  <Category>sample string 8</Category>
  <CoursesOrder xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CoursesOrder>
  <Description>sample string 3</Description>
  <DraftedBy>sample string 16</DraftedBy>
  <Duration>sample string 14</Duration>
  <Expertise>sample string 4</Expertise>
  <Genre>sample string 7</Genre>
  <ModifiedBy>sample string 9</ModifiedBy>
  <ModifiedDate>2024-11-21T09:36:37.8161368+00:00</ModifiedDate>
  <PackageName>sample string 2</PackageName>
  <PackageStatus>sample string 15</PackageStatus>
  <ProjectCourseUniqueIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ProjectCourseUniqueIDs>
  <RepoId>sample string 12</RepoId>
  <RepoName>sample string 13</RepoName>
  <RepoType>sample string 11</RepoType>
  <Skill>sample string 6</Skill>
  <YorbitCourseUniqueIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </YorbitCourseUniqueIds>
  <uniqueId>sample string 1</uniqueId>
</PackageInsert>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NameDescriptionTypeAdditional information
Version

None.

Content

None.

StatusCode

None.

ReasonPhrase

None.

Headers

None.

RequestMessage

None.

IsSuccessStatusCode

None.