POST api/provider/program/create?accountId={accountId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

globally unique identifier

Required

Body Parameters

ProviderProgram
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ProgramType

IdNamePair

None.

ProgramId

string

None.

ProgramTitle

string

None.

ProgramStartDate

date

None.

ProgramEndDate

date

None.

ProgramURL

string

None.

LearningObjectives

string

None.

PresenterName

string

None.

CreditType

IdNamePair

None.

EducationalTime

decimal number

None.

IsAvailableOnline

boolean

None.

CourseLocations

Collection of CourseLocation

None.

IsAttested

boolean

None.

IsRequirementMet

boolean

None.

ParentProgram

IdNamePair

None.

CreditHours

decimal number

None.

IsOngoingProgram

boolean

None.

IsDuplicate

boolean

None.

NonLearningTime

decimal number

None.

ProgramStatus

OptionSetValueModel

None.

SubmitProgram

boolean

None.

ContactId

globally unique identifier

None.

WebProductId

globally unique identifier

None.

WebProductName

string

None.

Receipt

Receipt

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "18808061-7c87-46b0-bb96-1e9354095339",
  "ProgramType": {
    "Id": "8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd",
    "Name": "sample string 2"
  },
  "ProgramId": "sample string 2",
  "ProgramTitle": "sample string 3",
  "ProgramStartDate": "2024-11-05T00:39:56.427436+00:00",
  "ProgramEndDate": "2024-11-05T00:39:56.427436+00:00",
  "ProgramURL": "sample string 6",
  "LearningObjectives": "sample string 7",
  "PresenterName": "sample string 8",
  "CreditType": {
    "Id": "8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd",
    "Name": "sample string 2"
  },
  "EducationalTime": 9.0,
  "IsAvailableOnline": true,
  "CourseLocations": [
    {
      "Id": "deb488ee-b99f-44df-a339-fcd7f46b414b",
      "Country": {
        "Id": "8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd",
        "Name": "sample string 2"
      },
      "StateProvince": {
        "Id": "8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd",
        "Name": "sample string 2"
      },
      "StateProvinceString": "sample string 2",
      "City": "sample string 3"
    },
    {
      "Id": "deb488ee-b99f-44df-a339-fcd7f46b414b",
      "Country": {
        "Id": "8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd",
        "Name": "sample string 2"
      },
      "StateProvince": {
        "Id": "8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd",
        "Name": "sample string 2"
      },
      "StateProvinceString": "sample string 2",
      "City": "sample string 3"
    }
  ],
  "IsAttested": true,
  "IsRequirementMet": true,
  "ParentProgram": {
    "Id": "8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd",
    "Name": "sample string 2"
  },
  "CreditHours": 13.0,
  "IsOngoingProgram": true,
  "IsDuplicate": true,
  "NonLearningTime": 16.0,
  "ProgramStatus": {
    "Label": "sample string 1",
    "Value": 2
  },
  "SubmitProgram": true,
  "ContactId": "5c037212-00cd-4698-a473-ebafabf9affc",
  "WebProductId": "4ecb46d7-6952-4297-b912-b908a83877b0",
  "WebProductName": "sample string 20",
  "Receipt": {
    "InvoiceId": "40e0519b-6d82-4dec-9d59-401983241c4e",
    "Messages": [
      "sample string 1",
      "sample string 2"
    ],
    "InvoiceNumber": "sample string 2",
    "InvoiceDate": "2024-11-05T00:39:56.427436+00:00",
    "TotalAmountPaid": 4.0,
    "PaymentAuthorizationNumber": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<ProviderProgram xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <ContactId>5c037212-00cd-4698-a473-ebafabf9affc</ContactId>
  <CourseLocations>
    <CourseLocation>
      <City>sample string 3</City>
      <Country xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
        <d4p1:Id>8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Country>
      <Id>deb488ee-b99f-44df-a339-fcd7f46b414b</Id>
      <StateProvince xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
        <d4p1:Id>8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </StateProvince>
      <StateProvinceString>sample string 2</StateProvinceString>
    </CourseLocation>
    <CourseLocation>
      <City>sample string 3</City>
      <Country xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
        <d4p1:Id>8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Country>
      <Id>deb488ee-b99f-44df-a339-fcd7f46b414b</Id>
      <StateProvince xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
        <d4p1:Id>8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </StateProvince>
      <StateProvinceString>sample string 2</StateProvinceString>
    </CourseLocation>
  </CourseLocations>
  <CreditHours>13</CreditHours>
  <CreditType xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Id>8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </CreditType>
  <EducationalTime>9</EducationalTime>
  <Id>18808061-7c87-46b0-bb96-1e9354095339</Id>
  <IsAttested>true</IsAttested>
  <IsAvailableOnline>true</IsAvailableOnline>
  <IsDuplicate>true</IsDuplicate>
  <IsOngoingProgram>true</IsOngoingProgram>
  <IsRequirementMet>true</IsRequirementMet>
  <LearningObjectives>sample string 7</LearningObjectives>
  <NonLearningTime>16</NonLearningTime>
  <ParentProgram xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Id>8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </ParentProgram>
  <PresenterName>sample string 8</PresenterName>
  <ProgramEndDate>2024-11-05T00:39:56.427436+00:00</ProgramEndDate>
  <ProgramId>sample string 2</ProgramId>
  <ProgramStartDate>2024-11-05T00:39:56.427436+00:00</ProgramStartDate>
  <ProgramStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Label>sample string 1</d2p1:Label>
    <d2p1:Value>2</d2p1:Value>
  </ProgramStatus>
  <ProgramTitle>sample string 3</ProgramTitle>
  <ProgramType xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Id>8158f1d7-210f-45ca-9ad1-bd7c92bc0ccd</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </ProgramType>
  <ProgramURL>sample string 6</ProgramURL>
  <Receipt>
    <InvoiceDate>2024-11-05T00:39:56.427436+00:00</InvoiceDate>
    <InvoiceId>40e0519b-6d82-4dec-9d59-401983241c4e</InvoiceId>
    <InvoiceNumber>sample string 2</InvoiceNumber>
    <Messages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Messages>
    <PaymentAuthorizationNumber>sample string 5</PaymentAuthorizationNumber>
    <TotalAmountPaid>4</TotalAmountPaid>
  </Receipt>
  <SubmitProgram>true</SubmitProgram>
  <WebProductId>4ecb46d7-6952-4297-b912-b908a83877b0</WebProductId>
  <WebProductName>sample string 20</WebProductName>
</ProviderProgram>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProviderProgram
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ProgramType

IdNamePair

None.

ProgramId

string

None.

ProgramTitle

string

None.

ProgramStartDate

date

None.

ProgramEndDate

date

None.

ProgramURL

string

None.

LearningObjectives

string

None.

PresenterName

string

None.

CreditType

IdNamePair

None.

EducationalTime

decimal number

None.

IsAvailableOnline

boolean

None.

CourseLocations

Collection of CourseLocation

None.

IsAttested

boolean

None.

IsRequirementMet

boolean

None.

ParentProgram

IdNamePair

None.

CreditHours

decimal number

None.

IsOngoingProgram

boolean

None.

IsDuplicate

boolean

None.

NonLearningTime

decimal number

None.

ProgramStatus

OptionSetValueModel

None.

SubmitProgram

boolean

None.

ContactId

globally unique identifier

None.

WebProductId

globally unique identifier

None.

WebProductName

string

None.

Receipt

Receipt

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "ead0b361-6070-4d23-9e41-fcd6a384094b",
  "ProgramType": {
    "Id": "31add37a-280d-4c72-a98b-cc836c8304c8",
    "Name": "sample string 2"
  },
  "ProgramId": "sample string 2",
  "ProgramTitle": "sample string 3",
  "ProgramStartDate": "2024-11-05T00:39:56.4586856+00:00",
  "ProgramEndDate": "2024-11-05T00:39:56.4586856+00:00",
  "ProgramURL": "sample string 6",
  "LearningObjectives": "sample string 7",
  "PresenterName": "sample string 8",
  "CreditType": {
    "Id": "31add37a-280d-4c72-a98b-cc836c8304c8",
    "Name": "sample string 2"
  },
  "EducationalTime": 9.0,
  "IsAvailableOnline": true,
  "CourseLocations": [
    {
      "Id": "9d99c38d-53d8-4c0e-a3aa-fb2bb9d56387",
      "Country": {
        "Id": "31add37a-280d-4c72-a98b-cc836c8304c8",
        "Name": "sample string 2"
      },
      "StateProvince": {
        "Id": "31add37a-280d-4c72-a98b-cc836c8304c8",
        "Name": "sample string 2"
      },
      "StateProvinceString": "sample string 2",
      "City": "sample string 3"
    },
    {
      "Id": "9d99c38d-53d8-4c0e-a3aa-fb2bb9d56387",
      "Country": {
        "Id": "31add37a-280d-4c72-a98b-cc836c8304c8",
        "Name": "sample string 2"
      },
      "StateProvince": {
        "Id": "31add37a-280d-4c72-a98b-cc836c8304c8",
        "Name": "sample string 2"
      },
      "StateProvinceString": "sample string 2",
      "City": "sample string 3"
    }
  ],
  "IsAttested": true,
  "IsRequirementMet": true,
  "ParentProgram": {
    "Id": "31add37a-280d-4c72-a98b-cc836c8304c8",
    "Name": "sample string 2"
  },
  "CreditHours": 13.0,
  "IsOngoingProgram": true,
  "IsDuplicate": true,
  "NonLearningTime": 16.0,
  "ProgramStatus": {
    "Label": "sample string 1",
    "Value": 2
  },
  "SubmitProgram": true,
  "ContactId": "8404a459-0e93-4d7e-8212-a4154dd7474a",
  "WebProductId": "954f4642-21e1-45fc-b737-71ee083f9bd9",
  "WebProductName": "sample string 20",
  "Receipt": {
    "InvoiceId": "3a003a4b-1c01-4364-a7e6-c249e6471ec6",
    "Messages": [
      "sample string 1",
      "sample string 2"
    ],
    "InvoiceNumber": "sample string 2",
    "InvoiceDate": "2024-11-05T00:39:56.4586856+00:00",
    "TotalAmountPaid": 4.0,
    "PaymentAuthorizationNumber": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<ProviderProgram xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <ContactId>8404a459-0e93-4d7e-8212-a4154dd7474a</ContactId>
  <CourseLocations>
    <CourseLocation>
      <City>sample string 3</City>
      <Country xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
        <d4p1:Id>31add37a-280d-4c72-a98b-cc836c8304c8</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Country>
      <Id>9d99c38d-53d8-4c0e-a3aa-fb2bb9d56387</Id>
      <StateProvince xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
        <d4p1:Id>31add37a-280d-4c72-a98b-cc836c8304c8</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </StateProvince>
      <StateProvinceString>sample string 2</StateProvinceString>
    </CourseLocation>
    <CourseLocation>
      <City>sample string 3</City>
      <Country xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
        <d4p1:Id>31add37a-280d-4c72-a98b-cc836c8304c8</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Country>
      <Id>9d99c38d-53d8-4c0e-a3aa-fb2bb9d56387</Id>
      <StateProvince xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
        <d4p1:Id>31add37a-280d-4c72-a98b-cc836c8304c8</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </StateProvince>
      <StateProvinceString>sample string 2</StateProvinceString>
    </CourseLocation>
  </CourseLocations>
  <CreditHours>13</CreditHours>
  <CreditType xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Id>31add37a-280d-4c72-a98b-cc836c8304c8</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </CreditType>
  <EducationalTime>9</EducationalTime>
  <Id>ead0b361-6070-4d23-9e41-fcd6a384094b</Id>
  <IsAttested>true</IsAttested>
  <IsAvailableOnline>true</IsAvailableOnline>
  <IsDuplicate>true</IsDuplicate>
  <IsOngoingProgram>true</IsOngoingProgram>
  <IsRequirementMet>true</IsRequirementMet>
  <LearningObjectives>sample string 7</LearningObjectives>
  <NonLearningTime>16</NonLearningTime>
  <ParentProgram xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Id>31add37a-280d-4c72-a98b-cc836c8304c8</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </ParentProgram>
  <PresenterName>sample string 8</PresenterName>
  <ProgramEndDate>2024-11-05T00:39:56.4586856+00:00</ProgramEndDate>
  <ProgramId>sample string 2</ProgramId>
  <ProgramStartDate>2024-11-05T00:39:56.4586856+00:00</ProgramStartDate>
  <ProgramStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Label>sample string 1</d2p1:Label>
    <d2p1:Value>2</d2p1:Value>
  </ProgramStatus>
  <ProgramTitle>sample string 3</ProgramTitle>
  <ProgramType xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Id>31add37a-280d-4c72-a98b-cc836c8304c8</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </ProgramType>
  <ProgramURL>sample string 6</ProgramURL>
  <Receipt>
    <InvoiceDate>2024-11-05T00:39:56.4586856+00:00</InvoiceDate>
    <InvoiceId>3a003a4b-1c01-4364-a7e6-c249e6471ec6</InvoiceId>
    <InvoiceNumber>sample string 2</InvoiceNumber>
    <Messages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Messages>
    <PaymentAuthorizationNumber>sample string 5</PaymentAuthorizationNumber>
    <TotalAmountPaid>4</TotalAmountPaid>
  </Receipt>
  <SubmitProgram>true</SubmitProgram>
  <WebProductId>954f4642-21e1-45fc-b737-71ee083f9bd9</WebProductId>
  <WebProductName>sample string 20</WebProductName>
</ProviderProgram>