PUT api/LearnerQuery?IsQueryFromMobileUser={IsQueryFromMobileUser}&appCode={appCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
IsQueryFromMobileUser | boolean |
Default value is True |
|
appCode | string |
None. |
Body Parameters
QueryName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
Category | QueryCategory |
None. |
|
TenantId | integer |
None. |
|
Text | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedName | string |
None. |
|
CreatedTime | date |
None. |
|
ModifiedTime | date |
None. |
|
Status | string |
None. |
|
Priority | string |
None. |
|
Assignee | Collection of Assignee |
None. |
|
IsReadByUser | boolean |
None. |
|
IsReadByAdmin | boolean |
None. |
|
RelatedId | string |
None. |
|
MediaType | string |
None. |
|
Replies | Collection of Reply |
None. |
|
ImageData | string |
None. |
|
ContentType | string |
None. |
|
QueryAttachmentUrl | string |
None. |
|
QueryAttachImageName | string |
None. |
|
QueryAttachImageSize | string |
None. |
|
TotalQueryCount | integer |
None. |
|
UnreadQueryCount | integer |
None. |
|
EpochValue | integer |
None. |
|
CourseId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "Category": { "CategoryId": 1, "CategoryName": "sample string 2", "CategoryType": "sample string 3", "DefaultAssignee": "sample string 4" }, "TenantId": 2, "Text": "sample string 3", "CreatedBy": "sample string 4", "CreatedName": "sample string 5", "CreatedTime": "2024-12-29T14:47:55.2484944Z", "ModifiedTime": "2024-12-29T14:47:55.2484944Z", "Status": "sample string 8", "Priority": "sample string 9", "Assignee": [ { "Id": 1, "LoginId": "sample string 2", "Name": "sample string 3", "IsRead": true }, { "Id": 1, "LoginId": "sample string 2", "Name": "sample string 3", "IsRead": true } ], "IsReadByUser": true, "IsReadByAdmin": true, "RelatedId": "sample string 12", "MediaType": "sample string 13", "Replies": [ { "Text": "sample string 1", "CreatedTime": "2024-12-29T14:47:55.2484944Z", "CreatedBy": "sample string 3", "CreatedName": "sample string 4", "ImageData": "sample string 5", "ContentType": "sample string 6", "ReplyAttachmentUrl": "sample string 7", "PhotoUrl": "sample string 8" }, { "Text": "sample string 1", "CreatedTime": "2024-12-29T14:47:55.2484944Z", "CreatedBy": "sample string 3", "CreatedName": "sample string 4", "ImageData": "sample string 5", "ContentType": "sample string 6", "ReplyAttachmentUrl": "sample string 7", "PhotoUrl": "sample string 8" } ], "ImageData": "sample string 14", "ContentType": "sample string 15", "QueryAttachmentUrl": "sample string 16", "QueryAttachImageName": "sample string 17", "QueryAttachImageSize": "sample string 18", "TotalQueryCount": 19, "UnreadQueryCount": 20, "EpochValue": 21, "CourseId": 22 }
text/html
Sample:
{"id":"sample string 1","Category":{"CategoryId":1,"CategoryName":"sample string 2","CategoryType":"sample string 3","DefaultAssignee":"sample string 4"},"TenantId":2,"Text":"sample string 3","CreatedBy":"sample string 4","CreatedName":"sample string 5","CreatedTime":"2024-12-29T14:47:55.2484944Z","ModifiedTime":"2024-12-29T14:47:55.2484944Z","Status":"sample string 8","Priority":"sample string 9","Assignee":[{"Id":1,"LoginId":"sample string 2","Name":"sample string 3","IsRead":true},{"Id":1,"LoginId":"sample string 2","Name":"sample string 3","IsRead":true}],"IsReadByUser":true,"IsReadByAdmin":true,"RelatedId":"sample string 12","MediaType":"sample string 13","Replies":[{"Text":"sample string 1","CreatedTime":"2024-12-29T14:47:55.2484944Z","CreatedBy":"sample string 3","CreatedName":"sample string 4","ImageData":"sample string 5","ContentType":"sample string 6","ReplyAttachmentUrl":"sample string 7","PhotoUrl":"sample string 8"},{"Text":"sample string 1","CreatedTime":"2024-12-29T14:47:55.2484944Z","CreatedBy":"sample string 3","CreatedName":"sample string 4","ImageData":"sample string 5","ContentType":"sample string 6","ReplyAttachmentUrl":"sample string 7","PhotoUrl":"sample string 8"}],"ImageData":"sample string 14","ContentType":"sample string 15","QueryAttachmentUrl":"sample string 16","QueryAttachImageName":"sample string 17","QueryAttachImageSize":"sample string 18","TotalQueryCount":19,"UnreadQueryCount":20,"EpochValue":21,"CourseId":22}
text/xml
Sample:
<Query xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <Assignee> <Assignee> <Id>1</Id> <IsRead>true</IsRead> <LoginId>sample string 2</LoginId> <Name>sample string 3</Name> </Assignee> <Assignee> <Id>1</Id> <IsRead>true</IsRead> <LoginId>sample string 2</LoginId> <Name>sample string 3</Name> </Assignee> </Assignee> <Category> <CategoryId>1</CategoryId> <CategoryName>sample string 2</CategoryName> <CategoryType>sample string 3</CategoryType> <DefaultAssignee>sample string 4</DefaultAssignee> </Category> <ContentType>sample string 15</ContentType> <CourseId>22</CourseId> <CreatedBy>sample string 4</CreatedBy> <CreatedName>sample string 5</CreatedName> <CreatedTime>2024-12-29T14:47:55.2484944Z</CreatedTime> <EpochValue>21</EpochValue> <ImageData>sample string 14</ImageData> <IsReadByAdmin>true</IsReadByAdmin> <IsReadByUser>true</IsReadByUser> <MediaType>sample string 13</MediaType> <ModifiedTime>2024-12-29T14:47:55.2484944Z</ModifiedTime> <Priority>sample string 9</Priority> <QueryAttachImageName>sample string 17</QueryAttachImageName> <QueryAttachImageSize>sample string 18</QueryAttachImageSize> <QueryAttachmentUrl>sample string 16</QueryAttachmentUrl> <QueryId>sample string 1</QueryId> <RelatedId>sample string 12</RelatedId> <Replies> <Reply> <ContentType>sample string 6</ContentType> <CreatedBy>sample string 3</CreatedBy> <CreatedName>sample string 4</CreatedName> <CreatedTime>2024-12-29T14:47:55.2484944Z</CreatedTime> <ImageData>sample string 5</ImageData> <PhotoUrl>sample string 8</PhotoUrl> <ReplyAttachmentUrl>sample string 7</ReplyAttachmentUrl> <Text>sample string 1</Text> </Reply> <Reply> <ContentType>sample string 6</ContentType> <CreatedBy>sample string 3</CreatedBy> <CreatedName>sample string 4</CreatedName> <CreatedTime>2024-12-29T14:47:55.2484944Z</CreatedTime> <ImageData>sample string 5</ImageData> <PhotoUrl>sample string 8</PhotoUrl> <ReplyAttachmentUrl>sample string 7</ReplyAttachmentUrl> <Text>sample string 1</Text> </Reply> </Replies> <Status>sample string 8</Status> <TenantId>2</TenantId> <Text>sample string 3</Text> <TotalQueryCount>19</TotalQueryCount> <UnreadQueryCount>20</UnreadQueryCount> </Query>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
QueryName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
Category | QueryCategory |
None. |
|
TenantId | integer |
None. |
|
Text | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedName | string |
None. |
|
CreatedTime | date |
None. |
|
ModifiedTime | date |
None. |
|
Status | string |
None. |
|
Priority | string |
None. |
|
Assignee | Collection of Assignee |
None. |
|
IsReadByUser | boolean |
None. |
|
IsReadByAdmin | boolean |
None. |
|
RelatedId | string |
None. |
|
MediaType | string |
None. |
|
Replies | Collection of Reply |
None. |
|
ImageData | string |
None. |
|
ContentType | string |
None. |
|
QueryAttachmentUrl | string |
None. |
|
QueryAttachImageName | string |
None. |
|
QueryAttachImageSize | string |
None. |
|
TotalQueryCount | integer |
None. |
|
UnreadQueryCount | integer |
None. |
|
EpochValue | integer |
None. |
|
CourseId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "Category": { "CategoryId": 1, "CategoryName": "sample string 2", "CategoryType": "sample string 3", "DefaultAssignee": "sample string 4" }, "TenantId": 2, "Text": "sample string 3", "CreatedBy": "sample string 4", "CreatedName": "sample string 5", "CreatedTime": "2024-12-29T14:47:55.2484944Z", "ModifiedTime": "2024-12-29T14:47:55.2484944Z", "Status": "sample string 8", "Priority": "sample string 9", "Assignee": [ { "Id": 1, "LoginId": "sample string 2", "Name": "sample string 3", "IsRead": true }, { "Id": 1, "LoginId": "sample string 2", "Name": "sample string 3", "IsRead": true } ], "IsReadByUser": true, "IsReadByAdmin": true, "RelatedId": "sample string 12", "MediaType": "sample string 13", "Replies": [ { "Text": "sample string 1", "CreatedTime": "2024-12-29T14:47:55.2484944Z", "CreatedBy": "sample string 3", "CreatedName": "sample string 4", "ImageData": "sample string 5", "ContentType": "sample string 6", "ReplyAttachmentUrl": "sample string 7", "PhotoUrl": "sample string 8" }, { "Text": "sample string 1", "CreatedTime": "2024-12-29T14:47:55.2484944Z", "CreatedBy": "sample string 3", "CreatedName": "sample string 4", "ImageData": "sample string 5", "ContentType": "sample string 6", "ReplyAttachmentUrl": "sample string 7", "PhotoUrl": "sample string 8" } ], "ImageData": "sample string 14", "ContentType": "sample string 15", "QueryAttachmentUrl": "sample string 16", "QueryAttachImageName": "sample string 17", "QueryAttachImageSize": "sample string 18", "TotalQueryCount": 19, "UnreadQueryCount": 20, "EpochValue": 21, "CourseId": 22 }
text/html
Sample:
{"id":"sample string 1","Category":{"CategoryId":1,"CategoryName":"sample string 2","CategoryType":"sample string 3","DefaultAssignee":"sample string 4"},"TenantId":2,"Text":"sample string 3","CreatedBy":"sample string 4","CreatedName":"sample string 5","CreatedTime":"2024-12-29T14:47:55.2484944Z","ModifiedTime":"2024-12-29T14:47:55.2484944Z","Status":"sample string 8","Priority":"sample string 9","Assignee":[{"Id":1,"LoginId":"sample string 2","Name":"sample string 3","IsRead":true},{"Id":1,"LoginId":"sample string 2","Name":"sample string 3","IsRead":true}],"IsReadByUser":true,"IsReadByAdmin":true,"RelatedId":"sample string 12","MediaType":"sample string 13","Replies":[{"Text":"sample string 1","CreatedTime":"2024-12-29T14:47:55.2484944Z","CreatedBy":"sample string 3","CreatedName":"sample string 4","ImageData":"sample string 5","ContentType":"sample string 6","ReplyAttachmentUrl":"sample string 7","PhotoUrl":"sample string 8"},{"Text":"sample string 1","CreatedTime":"2024-12-29T14:47:55.2484944Z","CreatedBy":"sample string 3","CreatedName":"sample string 4","ImageData":"sample string 5","ContentType":"sample string 6","ReplyAttachmentUrl":"sample string 7","PhotoUrl":"sample string 8"}],"ImageData":"sample string 14","ContentType":"sample string 15","QueryAttachmentUrl":"sample string 16","QueryAttachImageName":"sample string 17","QueryAttachImageSize":"sample string 18","TotalQueryCount":19,"UnreadQueryCount":20,"EpochValue":21,"CourseId":22}
text/xml
Sample:
<Query xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <Assignee> <Assignee> <Id>1</Id> <IsRead>true</IsRead> <LoginId>sample string 2</LoginId> <Name>sample string 3</Name> </Assignee> <Assignee> <Id>1</Id> <IsRead>true</IsRead> <LoginId>sample string 2</LoginId> <Name>sample string 3</Name> </Assignee> </Assignee> <Category> <CategoryId>1</CategoryId> <CategoryName>sample string 2</CategoryName> <CategoryType>sample string 3</CategoryType> <DefaultAssignee>sample string 4</DefaultAssignee> </Category> <ContentType>sample string 15</ContentType> <CourseId>22</CourseId> <CreatedBy>sample string 4</CreatedBy> <CreatedName>sample string 5</CreatedName> <CreatedTime>2024-12-29T14:47:55.2484944Z</CreatedTime> <EpochValue>21</EpochValue> <ImageData>sample string 14</ImageData> <IsReadByAdmin>true</IsReadByAdmin> <IsReadByUser>true</IsReadByUser> <MediaType>sample string 13</MediaType> <ModifiedTime>2024-12-29T14:47:55.2484944Z</ModifiedTime> <Priority>sample string 9</Priority> <QueryAttachImageName>sample string 17</QueryAttachImageName> <QueryAttachImageSize>sample string 18</QueryAttachImageSize> <QueryAttachmentUrl>sample string 16</QueryAttachmentUrl> <QueryId>sample string 1</QueryId> <RelatedId>sample string 12</RelatedId> <Replies> <Reply> <ContentType>sample string 6</ContentType> <CreatedBy>sample string 3</CreatedBy> <CreatedName>sample string 4</CreatedName> <CreatedTime>2024-12-29T14:47:55.2484944Z</CreatedTime> <ImageData>sample string 5</ImageData> <PhotoUrl>sample string 8</PhotoUrl> <ReplyAttachmentUrl>sample string 7</ReplyAttachmentUrl> <Text>sample string 1</Text> </Reply> <Reply> <ContentType>sample string 6</ContentType> <CreatedBy>sample string 3</CreatedBy> <CreatedName>sample string 4</CreatedName> <CreatedTime>2024-12-29T14:47:55.2484944Z</CreatedTime> <ImageData>sample string 5</ImageData> <PhotoUrl>sample string 8</PhotoUrl> <ReplyAttachmentUrl>sample string 7</ReplyAttachmentUrl> <Text>sample string 1</Text> </Reply> </Replies> <Status>sample string 8</Status> <TenantId>2</TenantId> <Text>sample string 3</Text> <TotalQueryCount>19</TotalQueryCount> <UnreadQueryCount>20</UnreadQueryCount> </Query>