POST api/SeminarandCourse/Create
Create a new Seminar,Course and its related data
Request Information
URI Parameters
None.
Body Parameters
Information(Mandatory)
CourseSeminarCreateJSONName | Description | Type | Additional information |
---|---|---|---|
core_information | EventCoreInfo |
None. |
|
basic_information | CourseSeminarBasicInformation |
None. |
|
allowed_profiles | Collection of SeminarAllowedProfilesInfo |
None. |
|
conducted_by_information | CourseSeminarConductedByInformation |
None. |
Request Formats
application/json, text/json
Sample:
{ "core_information": { "EventId": 1, "EventName": "sample string 1", "EventTypeId": 2, "EventCoreTypeId": 1, "IsBubbleEvent": true, "IsClosedEvent": true, "IsActive": true, "EventCode": "sample string 4", "CreatedBy": 1, "LastModifiedBy": 1, "LastUpdatedDateTime": "2025-07-18T15:26:38.1922058+00:00", "IsDeleted": true, "IsFrontEndPlatformVisible": true, "IsBettingEnabled": true, "SwitchToLive": true, "IsAIEnabled": true, "IsMastersEvent": true, "IsParaEvent": true }, "basic_information": { "CourseandSeminarId": 1, "EventId": 1, "OrganizationId": 2, "ParentEventId": 1, "CourseorSeminar": 3, "Title": "sample string 4", "StartDate": "2025-07-18T15:26:38.1922058+00:00", "EndDate": "2025-07-18T15:26:38.1922058+00:00", "FundedBy": 1, "ContactPerson": 7, "LocationId": 1, "address1": "sample string 8", "address2": "sample string 9", "address3": "sample string 10", "City": "sample string 11", "CountryCode": "sample string 12", "Postcode": "sample string 13", "photo": "sample string 14", "Website": "sample string 15", "Status": "sample string 16", "CreatedBy": 1, "LastModifiedBy": 1, "LastUpdatedDateTime": "2025-07-18T15:26:38.1922058+00:00", "MessagetoInvitees": "sample string 17", "CreatedDateTime": "2025-07-18T15:26:38.1922058+00:00" }, "allowed_profiles": [ { "SeminarAllowedProfileId": 1, "QuotaProfileId": 1, "EventId": 2, "CourseandSeminarId": 3, "Deleted": 1, "CreatedBy": 1, "LastModifiedBy": 1, "LastUpdatedDateTime": "2025-07-18T15:26:38.1922058+00:00", "IsDeleted": true }, { "SeminarAllowedProfileId": 1, "QuotaProfileId": 1, "EventId": 2, "CourseandSeminarId": 3, "Deleted": 1, "CreatedBy": 1, "LastModifiedBy": 1, "LastUpdatedDateTime": "2025-07-18T15:26:38.1922058+00:00", "IsDeleted": true } ], "conducted_by_information": { "CourseSeminarsConductedById": 1, "CourseandSeminarId": 1, "EventId": 2, "ProfileId": 3, "UserId": 1, "ittfid": 4, "Accepted": true, "Attended": true, "CommentstoOrganizer": "sample string 5" } }
application/xml, text/xml
Sample:
<CourseSeminarCreateJSON xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers"> <allowed_profiles> <SeminarAllowedProfilesInfo> <CourseandSeminarId>3</CourseandSeminarId> <CreatedBy>1</CreatedBy> <Deleted>1</Deleted> <EventId>2</EventId> <IsDeleted>true</IsDeleted> <LastModifiedBy>1</LastModifiedBy> <LastUpdatedDateTime>2025-07-18T15:26:38.1922058+00:00</LastUpdatedDateTime> <QuotaProfileId>1</QuotaProfileId> <SeminarAllowedProfileId>1</SeminarAllowedProfileId> </SeminarAllowedProfilesInfo> <SeminarAllowedProfilesInfo> <CourseandSeminarId>3</CourseandSeminarId> <CreatedBy>1</CreatedBy> <Deleted>1</Deleted> <EventId>2</EventId> <IsDeleted>true</IsDeleted> <LastModifiedBy>1</LastModifiedBy> <LastUpdatedDateTime>2025-07-18T15:26:38.1922058+00:00</LastUpdatedDateTime> <QuotaProfileId>1</QuotaProfileId> <SeminarAllowedProfileId>1</SeminarAllowedProfileId> </SeminarAllowedProfilesInfo> </allowed_profiles> <basic_information> <City>sample string 11</City> <ContactPerson>7</ContactPerson> <CountryCode>sample string 12</CountryCode> <CourseandSeminarId>1</CourseandSeminarId> <CourseorSeminar>3</CourseorSeminar> <CreatedBy>1</CreatedBy> <CreatedDateTime>2025-07-18T15:26:38.1922058+00:00</CreatedDateTime> <EndDate>2025-07-18T15:26:38.1922058+00:00</EndDate> <EventId>1</EventId> <FundedBy>1</FundedBy> <LastModifiedBy>1</LastModifiedBy> <LastUpdatedDateTime>2025-07-18T15:26:38.1922058+00:00</LastUpdatedDateTime> <LocationId>1</LocationId> <MessagetoInvitees>sample string 17</MessagetoInvitees> <OrganizationId>2</OrganizationId> <ParentEventId>1</ParentEventId> <Postcode>sample string 13</Postcode> <StartDate>2025-07-18T15:26:38.1922058+00:00</StartDate> <Status>sample string 16</Status> <Title>sample string 4</Title> <Website>sample string 15</Website> <address1>sample string 8</address1> <address2>sample string 9</address2> <address3>sample string 10</address3> <photo>sample string 14</photo> </basic_information> <conducted_by_information> <Accepted>true</Accepted> <Attended>true</Attended> <CommentstoOrganizer>sample string 5</CommentstoOrganizer> <CourseSeminarsConductedById>1</CourseSeminarsConductedById> <CourseandSeminarId>1</CourseandSeminarId> <EventId>2</EventId> <ProfileId>3</ProfileId> <UserId>1</UserId> <ittfid>4</ittfid> </conducted_by_information> <core_information xmlns:d2p1="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <d2p1:CreatedBy>1</d2p1:CreatedBy> <d2p1:EventCode>sample string 4</d2p1:EventCode> <d2p1:EventCoreTypeId>1</d2p1:EventCoreTypeId> <d2p1:EventId>1</d2p1:EventId> <d2p1:EventName>sample string 1</d2p1:EventName> <d2p1:EventTypeId>2</d2p1:EventTypeId> <d2p1:IsAIEnabled>true</d2p1:IsAIEnabled> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsBettingEnabled>true</d2p1:IsBettingEnabled> <d2p1:IsBubbleEvent>true</d2p1:IsBubbleEvent> <d2p1:IsClosedEvent>true</d2p1:IsClosedEvent> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:IsFrontEndPlatformVisible>true</d2p1:IsFrontEndPlatformVisible> <d2p1:IsMastersEvent>true</d2p1:IsMastersEvent> <d2p1:IsParaEvent>true</d2p1:IsParaEvent> <d2p1:LastModifiedBy>1</d2p1:LastModifiedBy> <d2p1:LastUpdatedDateTime>2025-07-18T15:26:38.1922058+00:00</d2p1:LastUpdatedDateTime> <d2p1:SwitchToLive>true</d2p1:SwitchToLive> </core_information> </CourseSeminarCreateJSON>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>