POST api/EventDocument/CRUD/{event_id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
event_id | integer |
Required |
Body Parameters
EventDocumentInformationName | Description | Type | Additional information |
---|---|---|---|
DocumentId | integer |
None. |
|
EventId | integer |
None. |
|
DocumentTypeId | integer |
None. |
|
DocumentTitle | string |
None. |
|
DocumentURL | string |
None. |
|
IsActive | boolean |
None. |
|
Category | string |
None. |
|
Place | string |
None. |
|
Notes | string |
None. |
|
ValidDateFrom | date |
None. |
|
ValidDateTo | date |
None. |
|
Deleted | integer |
None. |
|
CreatedBy | integer |
None. |
|
LastModifiedBy | integer |
None. |
|
LastUpdatedDateTime | date |
None. |
|
IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocumentId": 1, "EventId": 1, "DocumentTypeId": 2, "DocumentTitle": "sample string 3", "DocumentURL": "sample string 4", "IsActive": true, "Category": "sample string 6", "Place": "sample string 7", "Notes": "sample string 8", "ValidDateFrom": "2025-07-18T15:50:20.477637+00:00", "ValidDateTo": "2025-07-18T15:50:20.477637+00:00", "Deleted": 1, "CreatedBy": 1, "LastModifiedBy": 1, "LastUpdatedDateTime": "2025-07-18T15:50:20.477637+00:00", "IsDeleted": true }
application/xml, text/xml
Sample:
<EventDocumentInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <Category>sample string 6</Category> <CreatedBy>1</CreatedBy> <Deleted>1</Deleted> <DocumentId>1</DocumentId> <DocumentTitle>sample string 3</DocumentTitle> <DocumentTypeId>2</DocumentTypeId> <DocumentURL>sample string 4</DocumentURL> <EventId>1</EventId> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <LastModifiedBy>1</LastModifiedBy> <LastUpdatedDateTime>2025-07-18T15:50:20.477637+00:00</LastUpdatedDateTime> <Notes>sample string 8</Notes> <Place>sample string 7</Place> <ValidDateFrom>2025-07-18T15:50:20.477637+00:00</ValidDateFrom> <ValidDateTo>2025-07-18T15:50:20.477637+00:00</ValidDateTo> </EventDocumentInformation>
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>