POST ListingSubCategories
Create
Request Information
URI Parameters
None.
Body Parameters
ListingSubCategoryDtoName | Description | Type | Additional information |
---|---|---|---|
SubCategoryID | integer |
None. |
|
CategoryID | integer |
None. |
|
SubCategory | string |
None. |
|
Keywords | string |
None. |
|
Descr | string |
None. |
|
DateCreated | date |
None. |
|
DateChanged | date |
None. |
|
ChangedBy | string |
None. |
|
RedirectToURL | string |
None. |
|
Expires | boolean |
None. |
|
DateExpires | date |
None. |
|
Listings | Collection of ListingDto |
None. |
|
ListingCategory | ListingCategoryDto |
None. |
|
ObjectState | ObjectStateEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
"ListingCategory": { "ListingSubCategories": [], "ObjectState": 0 },"ObjectState": 0 }
- "SubCategoryID": 1,
- "CategoryID": 1,
- "SubCategory": "sample string 2",
- "Keywords": "sample string 3",
- "Descr": "sample string 4",
- "DateCreated": "2024-11-23T08:11:56.3295777Z",
- "DateChanged": "2024-11-23T08:11:56.3295777Z",
- "ChangedBy": "sample string 5",
- "RedirectToURL": "sample string 6",
- "Expires": true,
- "DateExpires": "2024-11-23T08:11:56.3295777Z",
- "Listings": [
- {
- "ListingID": 1,
- "ProfileID": 1,
- "CategoryID": 1,
- "SubCategoryID": 1,
- "DisplayName": "sample string 2",
- "Website": "sample string 3",
- "Email": "sample string 4",
- "Descr": "sample string 5",
- "Expires": true,
- "Keywords": "sample string 6",
- "WebListing": true,
- "PrintListing": true,
- "PrimaryListing": true,
- "Active": true,
- "Directions": "sample string 7",
- "Address1": "sample string 8",
- "Address2": "sample string 9",
- "City": "sample string 10",
- "State": "sample string 11",
- "Zip": "sample string 12",
- "ZipExt": "sample string 13",
- "SoldBy": 1,
- "ChangedBy": "sample string 14",
- "DateCreated": "2024-11-23T08:11:56.3305763Z",
- "DateChanged": "2024-11-23T08:11:56.3305763Z",
- "BusinessLogo": "sample string 15",
- "ListingPrefix": "sample string 16",
- "DefaultAppearance": true,
- "ColorHighLightBox": "sample string 17",
- "ColorFont": "sample string 18",
- "ColorBorder": "sample string 19",
- "BorderSize": 1,
- "FontStyle": "sample string 20",
- "FontSize": 1,
- "ShowMap": true,
- "ShowAddress": true,
- "ShowPhone": true,
- "ShowFax": true,
- "ShowBusDescr": true,
- "ShowWebsite": true,
- "ShowEmail": true,
- "Longitude": "sample string 21",
- "Latitude": "sample string 22",
- "MapURL": "sample string 23",
- "ListingNotes": "sample string 24",
- "HTMLOverride": "sample string 25",
- "WebsiteRedirect": "sample string 26",
- "DateExpires": "2024-11-23T08:11:56.3315782Z",
- "Phone": "sample string 27",
- "Phone2": "sample string 28",
- "Fax": "sample string 29",
- "Rep": "sample string 30",
- "OverrideProfileSettings": true,
- "OverrideSystemPreferences": true,
- "RotateOrder": 1,
- "EntityID": 1,
- "ListingTypeID": 1,
- "ShortDescr": "sample string 31",
- "ProductsAndServices": "sample string 32",
- "DetailsListingTypeID": 1,
- "MobileAppListingTypeID": 1,
- "RelatedProfileIdOverride": 1,
- "ListingCategory": {
- "CategoryID": 1,
- "Category": "sample string 2",
- "Descr": "sample string 3",
- "Keywords": "sample string 4",
- "SICCode": "sample string 5",
- "NAICSCode": "sample string 6",
- "OtherCode1": "sample string 7",
- "OtherCode2": "sample string 8",
- "DateCreated": "2024-11-23T08:11:56.3335983Z",
- "DateChanged": "2024-11-23T08:11:56.3335983Z",
- "ChangedBy": "sample string 9",
- "RedirectToURL": "sample string 10",
- "Expires": true,
- "DateExpires": "2024-11-23T08:11:56.3335983Z",
- "StandardCategoryID": 1,
- "EntityIDs": [
- 1,
- 2
- "Listings": [],
- "ListingSubCategories": [],
- "ObjectState": 0
- "ResultsListingType": {
- "ListingTypeID": 1,
- "ListingType1": "sample string 2",
- "ListingType": "sample string 3",
- "Descr": "sample string 4",
- "DateCreated": "2024-11-23T08:11:56.3345789Z",
- "DateChanged": "2024-11-23T08:11:56.3345789Z",
- "ChangedBy": "sample string 5",
- "CssClass_Listing": "sample string 6",
- "CssClass_Detail": "sample string 7",
- "ObjectState": 0
- "DetailsListingType": {
- "ListingTypeID": 1,
- "ListingType1": "sample string 2",
- "ListingType": "sample string 3",
- "Descr": "sample string 4",
- "DateCreated": "2024-11-23T08:11:56.3345789Z",
- "DateChanged": "2024-11-23T08:11:56.3345789Z",
- "ChangedBy": "sample string 5",
- "CssClass_Listing": "sample string 6",
- "CssClass_Detail": "sample string 7",
- "ObjectState": 0
- "CategorySubCategory": "sample string 33",
- "ObjectState": 0
- "ListingID": 1,
- "ProfileID": 1,
- "CategoryID": 1,
- "SubCategoryID": 1,
- "DisplayName": "sample string 2",
- "Website": "sample string 3",
- "Email": "sample string 4",
- "Descr": "sample string 5",
- "Expires": true,
- "Keywords": "sample string 6",
- "WebListing": true,
- "PrintListing": true,
- "PrimaryListing": true,
- "Active": true,
- "Directions": "sample string 7",
- "Address1": "sample string 8",
- "Address2": "sample string 9",
- "City": "sample string 10",
- "State": "sample string 11",
- "Zip": "sample string 12",
- "ZipExt": "sample string 13",
- "SoldBy": 1,
- "ChangedBy": "sample string 14",
- "DateCreated": "2024-11-23T08:11:56.3305763Z",
- "DateChanged": "2024-11-23T08:11:56.3305763Z",
- "BusinessLogo": "sample string 15",
- "ListingPrefix": "sample string 16",
- "DefaultAppearance": true,
- "ColorHighLightBox": "sample string 17",
- "ColorFont": "sample string 18",
- "ColorBorder": "sample string 19",
- "BorderSize": 1,
- "FontStyle": "sample string 20",
- "FontSize": 1,
- "ShowMap": true,
- "ShowAddress": true,
- "ShowPhone": true,
- "ShowFax": true,
- "ShowBusDescr": true,
- "ShowWebsite": true,
- "ShowEmail": true,
- "Longitude": "sample string 21",
- "Latitude": "sample string 22",
- "MapURL": "sample string 23",
- "ListingNotes": "sample string 24",
- "HTMLOverride": "sample string 25",
- "WebsiteRedirect": "sample string 26",
- "DateExpires": "2024-11-23T08:11:56.3315782Z",
- "Phone": "sample string 27",
- "Phone2": "sample string 28",
- "Fax": "sample string 29",
- "Rep": "sample string 30",
- "OverrideProfileSettings": true,
- "OverrideSystemPreferences": true,
- "RotateOrder": 1,
- "EntityID": 1,
- "ListingTypeID": 1,
- "ShortDescr": "sample string 31",
- "ProductsAndServices": "sample string 32",
- "DetailsListingTypeID": 1,
- "MobileAppListingTypeID": 1,
- "RelatedProfileIdOverride": 1,
- "ListingCategory": {
- "CategoryID": 1,
- "Category": "sample string 2",
- "Descr": "sample string 3",
- "Keywords": "sample string 4",
- "SICCode": "sample string 5",
- "NAICSCode": "sample string 6",
- "OtherCode1": "sample string 7",
- "OtherCode2": "sample string 8",
- "DateCreated": "2024-11-23T08:11:56.3335983Z",
- "DateChanged": "2024-11-23T08:11:56.3335983Z",
- "ChangedBy": "sample string 9",
- "RedirectToURL": "sample string 10",
- "Expires": true,
- "DateExpires": "2024-11-23T08:11:56.3335983Z",
- "StandardCategoryID": 1,
- "EntityIDs": [
- 1,
- 2
- "Listings": [],
- "ListingSubCategories": [],
- "ObjectState": 0
- "ResultsListingType": {
- "ListingTypeID": 1,
- "ListingType1": "sample string 2",
- "ListingType": "sample string 3",
- "Descr": "sample string 4",
- "DateCreated": "2024-11-23T08:11:56.3345789Z",
- "DateChanged": "2024-11-23T08:11:56.3345789Z",
- "ChangedBy": "sample string 5",
- "CssClass_Listing": "sample string 6",
- "CssClass_Detail": "sample string 7",
- "ObjectState": 0
- "DetailsListingType": {
- "ListingTypeID": 1,
- "ListingType1": "sample string 2",
- "ListingType": "sample string 3",
- "Descr": "sample string 4",
- "DateCreated": "2024-11-23T08:11:56.3345789Z",
- "DateChanged": "2024-11-23T08:11:56.3345789Z",
- "ChangedBy": "sample string 5",
- "CssClass_Listing": "sample string 6",
- "CssClass_Detail": "sample string 7",
- "ObjectState": 0
- "CategorySubCategory": "sample string 33",
- "ObjectState": 0
{
- "CategoryID": 1,
- "Category": "sample string 2",
- "Descr": "sample string 3",
- "Keywords": "sample string 4",
- "SICCode": "sample string 5",
- "NAICSCode": "sample string 6",
- "OtherCode1": "sample string 7",
- "OtherCode2": "sample string 8",
- "DateCreated": "2024-11-23T08:11:56.3335983Z",
- "DateChanged": "2024-11-23T08:11:56.3335983Z",
- "ChangedBy": "sample string 9",
- "RedirectToURL": "sample string 10",
- "Expires": true,
- "DateExpires": "2024-11-23T08:11:56.3335983Z",
- "StandardCategoryID": 1,
- "EntityIDs": [
- 1,
- 2
- "Listings": [
- {
- "ListingID": 1,
- "ProfileID": 1,
- "CategoryID": 1,
- "SubCategoryID": 1,
- "DisplayName": "sample string 2",
- "Website": "sample string 3",
- "Email": "sample string 4",
- "Descr": "sample string 5",
- "Expires": true,
- "Keywords": "sample string 6",
- "WebListing": true,
- "PrintListing": true,
- "PrimaryListing": true,
- "Active": true,
- "Directions": "sample string 7",
- "Address1": "sample string 8",
- "Address2": "sample string 9",
- "City": "sample string 10",
- "State": "sample string 11",
- "Zip": "sample string 12",
- "ZipExt": "sample string 13",
- "SoldBy": 1,
- "ChangedBy": "sample string 14",
- "DateCreated": "2024-11-23T08:11:56.3305763Z",
- "DateChanged": "2024-11-23T08:11:56.3305763Z",
- "BusinessLogo": "sample string 15",
- "ListingPrefix": "sample string 16",
- "DefaultAppearance": true,
- "ColorHighLightBox": "sample string 17",
- "ColorFont": "sample string 18",
- "ColorBorder": "sample string 19",
- "BorderSize": 1,
- "FontStyle": "sample string 20",
- "FontSize": 1,
- "ShowMap": true,
- "ShowAddress": true,
- "ShowPhone": true,
- "ShowFax": true,
- "ShowBusDescr": true,
- "ShowWebsite": true,
- "ShowEmail": true,
- "Longitude": "sample string 21",
- "Latitude": "sample string 22",
- "MapURL": "sample string 23",
- "ListingNotes": "sample string 24",
- "HTMLOverride": "sample string 25",
- "WebsiteRedirect": "sample string 26",
- "DateExpires": "2024-11-23T08:11:56.3315782Z",
- "Phone": "sample string 27",
- "Phone2": "sample string 28",
- "Fax": "sample string 29",
- "Rep": "sample string 30",
- "OverrideProfileSettings": true,
- "OverrideSystemPreferences": true,
- "RotateOrder": 1,
- "EntityID": 1,
- "ListingTypeID": 1,
- "ShortDescr": "sample string 31",
- "ProductsAndServices": "sample string 32",
- "DetailsListingTypeID": 1,
- "MobileAppListingTypeID": 1,
- "RelatedProfileIdOverride": 1,
- "ResultsListingType": {
- "ListingTypeID": 1,
- "ListingType1": "sample string 2",
- "ListingType": "sample string 3",
- "Descr": "sample string 4",
- "DateCreated": "2024-11-23T08:11:56.3345789Z",
- "DateChanged": "2024-11-23T08:11:56.3345789Z",
- "ChangedBy": "sample string 5",
- "CssClass_Listing": "sample string 6",
- "CssClass_Detail": "sample string 7",
- "ObjectState": 0
- "DetailsListingType": {
- "ListingTypeID": 1,
- "ListingType1": "sample string 2",
- "ListingType": "sample string 3",
- "Descr": "sample string 4",
- "DateCreated": "2024-11-23T08:11:56.3345789Z",
- "DateChanged": "2024-11-23T08:11:56.3345789Z",
- "ChangedBy": "sample string 5",
- "CssClass_Listing": "sample string 6",
- "CssClass_Detail": "sample string 7",
- "ObjectState": 0
- "CategorySubCategory": "sample string 33",
- "ObjectState": 0
- "ListingID": 1,
- "ProfileID": 1,
- "CategoryID": 1,
- "SubCategoryID": 1,
- "DisplayName": "sample string 2",
- "Website": "sample string 3",
- "Email": "sample string 4",
- "Descr": "sample string 5",
- "Expires": true,
- "Keywords": "sample string 6",
- "WebListing": true,
- "PrintListing": true,
- "PrimaryListing": true,
- "Active": true,
- "Directions": "sample string 7",
- "Address1": "sample string 8",
- "Address2": "sample string 9",
- "City": "sample string 10",
- "State": "sample string 11",
- "Zip": "sample string 12",
- "ZipExt": "sample string 13",
- "SoldBy": 1,
- "ChangedBy": "sample string 14",
- "DateCreated": "2024-11-23T08:11:56.3305763Z",
- "DateChanged": "2024-11-23T08:11:56.3305763Z",
- "BusinessLogo": "sample string 15",
- "ListingPrefix": "sample string 16",
- "DefaultAppearance": true,
- "ColorHighLightBox": "sample string 17",
- "ColorFont": "sample string 18",
- "ColorBorder": "sample string 19",
- "BorderSize": 1,
- "FontStyle": "sample string 20",
- "FontSize": 1,
- "ShowMap": true,
- "ShowAddress": true,
- "ShowPhone": true,
- "ShowFax": true,
- "ShowBusDescr": true,
- "ShowWebsite": true,
- "ShowEmail": true,
- "Longitude": "sample string 21",
- "Latitude": "sample string 22",
- "MapURL": "sample string 23",
- "ListingNotes": "sample string 24",
- "HTMLOverride": "sample string 25",
- "WebsiteRedirect": "sample string 26",
- "DateExpires": "2024-11-23T08:11:56.3315782Z",
- "Phone": "sample string 27",
- "Phone2": "sample string 28",
- "Fax": "sample string 29",
- "Rep": "sample string 30",
- "OverrideProfileSettings": true,
- "OverrideSystemPreferences": true,
- "RotateOrder": 1,
- "EntityID": 1,
- "ListingTypeID": 1,
- "ShortDescr": "sample string 31",
- "ProductsAndServices": "sample string 32",
- "DetailsListingTypeID": 1,
- "MobileAppListingTypeID": 1,
- "RelatedProfileIdOverride": 1,
- "ResultsListingType": {
- "ListingTypeID": 1,
- "ListingType1": "sample string 2",
- "ListingType": "sample string 3",
- "Descr": "sample string 4",
- "DateCreated": "2024-11-23T08:11:56.3345789Z",
- "DateChanged": "2024-11-23T08:11:56.3345789Z",
- "ChangedBy": "sample string 5",
- "CssClass_Listing": "sample string 6",
- "CssClass_Detail": "sample string 7",
- "ObjectState": 0
- "DetailsListingType": {
- "ListingTypeID": 1,
- "ListingType1": "sample string 2",
- "ListingType": "sample string 3",
- "Descr": "sample string 4",
- "DateCreated": "2024-11-23T08:11:56.3345789Z",
- "DateChanged": "2024-11-23T08:11:56.3345789Z",
- "ChangedBy": "sample string 5",
- "CssClass_Listing": "sample string 6",
- "CssClass_Detail": "sample string 7",
- "ObjectState": 0
- "CategorySubCategory": "sample string 33",
- "ObjectState": 0
{
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1