POST api/SubCategoryAPI/NewInsertSubCategoryData

Request Information

URI Parameters

None.

Body Parameters

SubCategoryDTO
NameDescriptionTypeAdditional information
SubCategoryId

integer

None.

CategoryId

integer

None.

SubCategoryNameEn

string

None.

CategoryName

string

None.

ItemName

string

None.

ItemName_Ar

string

None.

Description

string

None.

Description_Ar

string

None.

SubCategoryDescEn

string

None.

SubCategoryNameAr

string

None.

SubCategoryDescAr

string

None.

Images

string

None.

BackgroundImages

string

None.

CategorySeqID

integer

None.

Status

integer

None.

UserId

integer

None.

message

string

None.

ID

integer

None.

IDs

string

None.

SectionName

string

None.

SectionName_Ar

string

None.

listselectedGroup

Collection of integer

None.

FlagId

integer

None.

bgImageUploaded

boolean

None.

ImageUploaded

boolean

None.

Active

string

None.

ActiveId

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SubCategoryId": 1,
  "CategoryId": 2,
  "SubCategoryNameEn": "sample string 3",
  "CategoryName": "sample string 4",
  "ItemName": "sample string 5",
  "ItemName_Ar": "sample string 6",
  "Description": "sample string 7",
  "Description_Ar": "sample string 8",
  "SubCategoryDescEn": "sample string 9",
  "SubCategoryNameAr": "sample string 10",
  "SubCategoryDescAr": "sample string 11",
  "Images": "sample string 12",
  "BackgroundImages": "sample string 13",
  "CategorySeqID": 14,
  "Status": 15,
  "UserId": 16,
  "message": "sample string 17",
  "ID": 18,
  "IDs": "sample string 19",
  "SectionName": "sample string 20",
  "SectionName_Ar": "sample string 21",
  "listselectedGroup": [
    1,
    2
  ],
  "FlagId": 22,
  "bgImageUploaded": true,
  "ImageUploaded": true,
  "Active": "sample string 25",
  "ActiveId": true
}

application/xml, text/xml

Sample:
<SubCategoryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BNC.POS.API.DTO_s">
  <Active>sample string 25</Active>
  <ActiveId>true</ActiveId>
  <BackgroundImages>sample string 13</BackgroundImages>
  <CategoryId>2</CategoryId>
  <CategoryName>sample string 4</CategoryName>
  <CategorySeqID>14</CategorySeqID>
  <Description>sample string 7</Description>
  <Description_Ar>sample string 8</Description_Ar>
  <FlagId>22</FlagId>
  <ID>18</ID>
  <IDs>sample string 19</IDs>
  <ImageUploaded>true</ImageUploaded>
  <Images>sample string 12</Images>
  <ItemName>sample string 5</ItemName>
  <ItemName_Ar>sample string 6</ItemName_Ar>
  <SectionName>sample string 20</SectionName>
  <SectionName_Ar>sample string 21</SectionName_Ar>
  <Status>15</Status>
  <SubCategoryDescAr>sample string 11</SubCategoryDescAr>
  <SubCategoryDescEn>sample string 9</SubCategoryDescEn>
  <SubCategoryId>1</SubCategoryId>
  <SubCategoryNameAr>sample string 10</SubCategoryNameAr>
  <SubCategoryNameEn>sample string 3</SubCategoryNameEn>
  <UserId>16</UserId>
  <bgImageUploaded>true</bgImageUploaded>
  <listselectedGroup xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </listselectedGroup>
  <message>sample string 17</message>
</SubCategoryDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.