GET api/LocalTopics/GetLocalTopicsAndLocationTypesByAccountId?accountId={accountId}&sorted={sorted}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | integer |
Required |
|
sorted | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
LocalTopicsWithLocationTypesInfoName | Description | Type | Additional information |
---|---|---|---|
GlobalTopicName | string |
None. |
|
Industry | string |
None. |
|
IndustryId | integer |
None. |
|
SubIndustry | string |
None. |
|
SubIndustryId | integer |
None. |
|
LocationTypes | Collection of localTopicLocationTypes |
None. |
|
Name | string |
None. |
|
ImageUrl | string |
None. |
|
Description | string |
None. |
|
Tags | string |
None. |
|
AccountId | integer |
Required |
|
GlobalTopicId | integer |
None. |
|
Id | integer |
None. |
|
Status | string |
None. |
|
CreatedBy | string |
None. |
|
CreateTimestamp | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTimestamp | date |
None. |
|
DataStateFlag | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "GlobalTopicName": "sample string 1", "Industry": "sample string 2", "IndustryId": 3, "SubIndustry": "sample string 4", "SubIndustryId": 5, "LocationTypes": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Name": "sample string 6", "ImageUrl": "sample string 7", "Description": "sample string 8", "Tags": "sample string 9", "AccountId": 10, "GlobalTopicId": 11, "Id": 12, "Status": "sample string 13", "CreatedBy": "sample string 14", "CreateTimestamp": "2024-11-21T08:42:18.05776+00:00", "ModifiedBy": "sample string 16", "ModifiedTimestamp": "2024-11-21T08:42:18.05776+00:00", "DataStateFlag": "sample string 17" }
application/xml, text/xml
Sample:
<LocalTopicsWithLocationTypesInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.Topics"> <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d2p1:DateTime>2024-11-21T08:42:18.05776Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </CreateTimestamp> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 14</CreatedBy> <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 17</DataStateFlag> <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">12</Id> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 16</ModifiedBy> <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d2p1:DateTime>2024-11-21T08:42:18.05776Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </ModifiedTimestamp> <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 13</Status> <AccountId>10</AccountId> <Description>sample string 8</Description> <GlobalTopicId>11</GlobalTopicId> <ImageUrl>sample string 7</ImageUrl> <Name>sample string 6</Name> <Tags>sample string 9</Tags> <GlobalTopicName>sample string 1</GlobalTopicName> <Industry>sample string 2</Industry> <IndustryId>3</IndustryId> <LocationTypes> <localTopicLocationTypes> <Id>1</Id> <Name>sample string 2</Name> </localTopicLocationTypes> <localTopicLocationTypes> <Id>1</Id> <Name>sample string 2</Name> </localTopicLocationTypes> </LocationTypes> <SubIndustry>sample string 4</SubIndustry> <SubIndustryId>5</SubIndustryId> </LocalTopicsWithLocationTypesInfo>