POST api/SkillsLabel

Request Information

URI Parameters

None.

Body Parameters

SkillsLabelPOSTAPI
NameDescriptionTypeAdditional information
Title

string

Required

String length: inclusive between 5 and 70

Provider

string

Required

String length: inclusive between 3 and 70

Description

string

Required

String length: inclusive between 5 and 170

Hours

integer

None.

Minutes

integer

Range: inclusive between 0 and 59

Cost

decimal number

None.

Subject

string

None.

Sequence

string

String length: inclusive between 0 and 3

Type

string

Required

String length: inclusive between 3 and 50

KnowledgeGain

string

Required

String length: inclusive between 5 and 170

Audience

string

Required

String length: inclusive between 2 and 10

Requirements

string

String length: inclusive between 1 and 250

Resource

string

None.

StartDate

date

None.

EndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Provider": "sample string 2",
  "Description": "sample string 3",
  "Hours": 4,
  "Minutes": 5,
  "Cost": 6.0,
  "Subject": "sample string 7",
  "Sequence": "sample string 8",
  "Type": "sample string 9",
  "KnowledgeGain": "sample string 10",
  "Audience": "sample string 11",
  "Requirements": "sample string 12",
  "Resource": "sample string 13",
  "StartDate": "2021-10-19T07:17:33.6269944-07:00",
  "EndDate": "2021-10-19T07:17:33.6269944-07:00"
}

application/xml, text/xml

Sample:
<SkillsLabelPOSTAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillsLabel.Api.Models">
  <Audience>sample string 11</Audience>
  <Cost>6</Cost>
  <Description>sample string 3</Description>
  <EndDate>2021-10-19T07:17:33.6269944-07:00</EndDate>
  <Hours>4</Hours>
  <KnowledgeGain>sample string 10</KnowledgeGain>
  <Minutes>5</Minutes>
  <Provider>sample string 2</Provider>
  <Requirements>sample string 12</Requirements>
  <Resource>sample string 13</Resource>
  <Sequence>sample string 8</Sequence>
  <StartDate>2021-10-19T07:17:33.6269944-07:00</StartDate>
  <Subject>sample string 7</Subject>
  <Title>sample string 1</Title>
  <Type>sample string 9</Type>
</SkillsLabelPOSTAPI>

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 'SkillsLabelPOSTAPI'.

Response Information

Resource Description

SkillsLabelAPI
NameDescriptionTypeAdditional information
LabelID

string

None.

Title

string

None.

Provider

string

None.

Description

string

None.

Time

string

None.

Cost

decimal number

None.

Subject

string

None.

Identifier

string

None.

Sequence

string

None.

Type

string

None.

KnowledgeGain

string

None.

SVG

string

None.

IframeEmbed

string

None.

Skills

Collection of SkillsLabelAssignAPI

None.

Audience

string

None.

CreatedDate

date

None.

Requirements

string

None.

Resource

string

None.

StartDate

date

None.

EndDate

date

None.

CredType

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LabelID": "sample string 1",
  "Title": "sample string 2",
  "Provider": "sample string 3",
  "Description": "sample string 4",
  "Time": "sample string 5",
  "Cost": 6.0,
  "Subject": "sample string 7",
  "Identifier": "sample string 8",
  "Sequence": "sample string 9",
  "Type": "sample string 10",
  "KnowledgeGain": "sample string 11",
  "SVG": "sample string 12",
  "IframeEmbed": "sample string 13",
  "Skills": [
    {
      "Level": 1,
      "Focus": 1,
      "Skill": "sample string 1",
      "Standards": "sample string 2",
      "Context": "sample string 3",
      "StandardCode": "sample string 4"
    },
    {
      "Level": 1,
      "Focus": 1,
      "Skill": "sample string 1",
      "Standards": "sample string 2",
      "Context": "sample string 3",
      "StandardCode": "sample string 4"
    }
  ],
  "Audience": "sample string 14",
  "CreatedDate": "2021-10-19T07:17:33.6582531-07:00",
  "Requirements": "sample string 16",
  "Resource": "sample string 17",
  "StartDate": "2021-10-19T07:17:33.6582531-07:00",
  "EndDate": "2021-10-19T07:17:33.6582531-07:00",
  "CredType": "sample string 18"
}

application/xml, text/xml

Sample:
<SkillsLabelAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillsLabel.Api.Models">
  <Audience>sample string 14</Audience>
  <Cost>6</Cost>
  <CreatedDate>2021-10-19T07:17:33.6582531-07:00</CreatedDate>
  <CredType>sample string 18</CredType>
  <Description>sample string 4</Description>
  <EndDate>2021-10-19T07:17:33.6582531-07:00</EndDate>
  <Identifier>sample string 8</Identifier>
  <IframeEmbed>sample string 13</IframeEmbed>
  <KnowledgeGain>sample string 11</KnowledgeGain>
  <LabelID>sample string 1</LabelID>
  <Provider>sample string 3</Provider>
  <Requirements>sample string 16</Requirements>
  <Resource>sample string 17</Resource>
  <SVG>sample string 12</SVG>
  <Sequence>sample string 9</Sequence>
  <Skills>
    <SkillsLabelAssignAPI>
      <Context>sample string 3</Context>
      <Focus>1</Focus>
      <Level>1</Level>
      <Skill>sample string 1</Skill>
      <StandardCode>sample string 4</StandardCode>
      <Standards>sample string 2</Standards>
    </SkillsLabelAssignAPI>
    <SkillsLabelAssignAPI>
      <Context>sample string 3</Context>
      <Focus>1</Focus>
      <Level>1</Level>
      <Skill>sample string 1</Skill>
      <StandardCode>sample string 4</StandardCode>
      <Standards>sample string 2</Standards>
    </SkillsLabelAssignAPI>
  </Skills>
  <StartDate>2021-10-19T07:17:33.6582531-07:00</StartDate>
  <Subject>sample string 7</Subject>
  <Time>sample string 5</Time>
  <Title>sample string 2</Title>
  <Type>sample string 10</Type>
</SkillsLabelAPI>