POST api/ProgramActivities?contactId={contactId}&isStatusCreated={isStatusCreated}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
contactId | System.Guid |
Required |
|
isStatusCreated | System.Boolean |
Default value is False |
Body Parameters
Altai.Web.Services.Models.ProgramActivityName | Description | Type | Additional information |
---|---|---|---|
Id | System.Guid |
None. |
|
CourseId | System.Guid |
None. |
|
CourseNumber | System.String |
None. |
|
CourseType | Altai.Web.Services.Models.Shared.IdNamePair |
None. |
|
CourseTypeName | System.String |
None. |
|
CourseStartDate | System.DateTime |
None. |
|
CourseEndDate | System.DateTime |
None. |
|
Name | System.String |
None. |
|
Description | System.String |
None. |
|
Url | System.String |
None. |
|
StartDate | System.DateTime |
None. |
|
EndDate | System.DateTime |
None. |
|
CeusRequestedHours | System.Decimal |
None. |
|
CeusEarnedHours | System.Decimal |
None. |
|
Status | Altai.Web.Services.Models.OptionSetValue |
None. |
|
StatusName | System.String |
None. |
|
CeuType | Altai.Web.Services.Models.Shared.IdNamePair |
None. |
|
CeuTypeName | System.String |
None. |
|
AttestationConfirmation | System.Boolean |
None. |
|
Category | Altai.Web.Services.Models.Shared.IdNamePair |
None. |
|
CategoryName | System.String |
None. |
|
Organization | System.String |
None. |
|
AdditionalDocId | System.Guid |
None. |
|
ReviewFlags | Altai.Web.Services.Models.ProgramActivityReviewFlags |
None. |
|
SupportingDocument | Altai.Web.Services.Models.OptionSetValue |
None. |
|
MaxAllowed | System.Decimal |
None. |
|
Submitted | System.Decimal |
None. |
|
Counted | System.Decimal |
None. |
|
SubmittedOn | System.DateTime |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "43979bbe-f8db-43b5-b1b8-77d0b35cad25", "CourseId": "c6439254-e5c8-4f30-9c7b-97b74a43a42f", "CourseNumber": "sample string 2", "CourseType": { "Id": "e522cc44-f445-4eef-a0b7-de449412ee91", "Name": "sample string 2" }, "CourseTypeName": "sample string 2", "CourseStartDate": "2025-04-04T08:59:38.705401-04:00", "CourseEndDate": "2025-04-04T08:59:38.705401-04:00", "Name": "sample string 3", "Description": "sample string 4", "Url": "sample string 5", "StartDate": "2025-04-04T08:59:38.705401-04:00", "EndDate": "2025-04-04T08:59:38.705401-04:00", "CeusRequestedHours": 6.0, "CeusEarnedHours": 7.0, "Status": { "Id": "sample string 1", "Name": "sample string 2" }, "StatusName": "sample string 2", "CeuType": { "Id": "e522cc44-f445-4eef-a0b7-de449412ee91", "Name": "sample string 2" }, "CeuTypeName": "sample string 2", "AttestationConfirmation": true, "Category": { "Id": "e522cc44-f445-4eef-a0b7-de449412ee91", "Name": "sample string 2" }, "CategoryName": "sample string 2", "Organization": "sample string 9", "AdditionalDocId": "5c5edf17-4a5a-4994-ad5f-15aaab37e3c5", "ReviewFlags": { "ActivityCategory": true, "ActivityDescription": true, "ActivityType": true, "CeuName": true, "CeusRequested": true, "CreditType": true, "EndDate": true, "ProviderName": true, "StartDate": true, "Url": true }, "SupportingDocument": { "Id": "sample string 1", "Name": "sample string 2" }, "MaxAllowed": 1.0, "Submitted": 10.0, "Counted": 11.0, "SubmittedOn": "2025-04-04T08:59:38.705401-04:00" }
application/xml, text/xml
Sample:
<ProgramActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models"> <AdditionalDocId>5c5edf17-4a5a-4994-ad5f-15aaab37e3c5</AdditionalDocId> <AttestationConfirmation>true</AttestationConfirmation> <Category xmlns:d2p1="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models.Shared"> <d2p1:Id>e522cc44-f445-4eef-a0b7-de449412ee91</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Category> <CeuType xmlns:d2p1="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models.Shared"> <d2p1:Id>e522cc44-f445-4eef-a0b7-de449412ee91</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </CeuType> <CeusEarnedHours>7</CeusEarnedHours> <CeusRequestedHours>6</CeusRequestedHours> <Counted>11</Counted> <CourseEndDate>2025-04-04T08:59:38.705401-04:00</CourseEndDate> <CourseId>c6439254-e5c8-4f30-9c7b-97b74a43a42f</CourseId> <CourseNumber>sample string 2</CourseNumber> <CourseStartDate>2025-04-04T08:59:38.705401-04:00</CourseStartDate> <CourseType xmlns:d2p1="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models.Shared"> <d2p1:Id>e522cc44-f445-4eef-a0b7-de449412ee91</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </CourseType> <Description>sample string 4</Description> <EndDate>2025-04-04T08:59:38.705401-04:00</EndDate> <Id>43979bbe-f8db-43b5-b1b8-77d0b35cad25</Id> <MaxAllowed>1</MaxAllowed> <Name>sample string 3</Name> <Organization>sample string 9</Organization> <ReviewFlags> <ActivityCategory>true</ActivityCategory> <ActivityDescription>true</ActivityDescription> <ActivityType>true</ActivityType> <CeuName>true</CeuName> <CeusRequested>true</CeusRequested> <CreditType>true</CreditType> <EndDate>true</EndDate> <ProviderName>true</ProviderName> <StartDate>true</StartDate> <Url>true</Url> </ReviewFlags> <StartDate>2025-04-04T08:59:38.705401-04:00</StartDate> <Status> <Id>sample string 1</Id> <Name>sample string 2</Name> </Status> <Submitted>10</Submitted> <SubmittedOn>2025-04-04T08:59:38.705401-04:00</SubmittedOn> <SupportingDocument> <Id>sample string 1</Id> <Name>sample string 2</Name> </SupportingDocument> <Url>sample string 5</Url> </ProgramActivity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.