POST api/LocalTopics

Request Information

URI Parameters

None.

Body Parameters

LocalTopicsCreateUpdateModel
NameDescriptionTypeAdditional information
LocationTypes

Collection of integer

None.

Name

string

None.

Description

string

None.

Tags

string

None.

AccountId

integer

None.

GlobalTopicId

integer

None.

ImageUrl

string

None.

Id

integer

None.

Status

string

None.

CreatedBy

string

None.

CreateTimestamp

date

None.

ModifiedBy

string

None.

ModifiedTimestamp

date

None.

DataStateFlag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationTypes": [
    1,
    2
  ],
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Tags": "sample string 3",
  "AccountId": 4,
  "GlobalTopicId": 5,
  "ImageUrl": "sample string 6",
  "Id": 7,
  "Status": "sample string 8",
  "CreatedBy": "sample string 9",
  "CreateTimestamp": "2024-11-21T08:55:49.6968407+00:00",
  "ModifiedBy": "sample string 11",
  "ModifiedTimestamp": "2024-11-21T08:55:49.6968407+00:00",
  "DataStateFlag": "sample string 12"
}

application/xml, text/xml

Sample:
<LocalTopicsCreateUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.Topics">
  <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
    <d2p1:DateTime>2024-11-21T08:55:49.6968407Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreateTimestamp>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 9</CreatedBy>
  <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 12</DataStateFlag>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">7</Id>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 11</ModifiedBy>
  <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
    <d2p1:DateTime>2024-11-21T08:55:49.6968407Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ModifiedTimestamp>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 8</Status>
  <AccountId>4</AccountId>
  <Description>sample string 2</Description>
  <GlobalTopicId>5</GlobalTopicId>
  <ImageUrl>sample string 6</ImageUrl>
  <LocationTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </LocationTypes>
  <Name>sample string 1</Name>
  <Tags>sample string 3</Tags>
</LocalTopicsCreateUpdateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>