POST api/Classification/AddMultiple

Request Information

URI Parameters

None.

Body Parameters

AddMultipleCategoriesRequest
NameDescriptionTypeAdditional information
CategoriesList

Collection of AddMultipleCategoriesModel

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoriesList": [
    {
      "ShopID": 1,
      "ParientID": 1,
      "ID": 1,
      "CreatedByUserID": 1,
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsActive": true
    },
    {
      "ShopID": 1,
      "ParientID": 1,
      "ID": 1,
      "CreatedByUserID": 1,
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsActive": true
    }
  ]
}

application/xml, text/xml

Sample:
<AddMultipleCategoriesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request">
  <CategoriesList>
    <AddMultipleCategoriesModel>
      <CreatedByUserID>1</CreatedByUserID>
      <Description>sample string 2</Description>
      <ID>1</ID>
      <IsActive>true</IsActive>
      <Name>sample string 1</Name>
      <ParientID>1</ParientID>
      <ShopID>1</ShopID>
    </AddMultipleCategoriesModel>
    <AddMultipleCategoriesModel>
      <CreatedByUserID>1</CreatedByUserID>
      <Description>sample string 2</Description>
      <ID>1</ID>
      <IsActive>true</IsActive>
      <Name>sample string 1</Name>
      <ParientID>1</ParientID>
      <ShopID>1</ShopID>
    </AddMultipleCategoriesModel>
  </CategoriesList>
</AddMultipleCategoriesRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDetail
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

ResponseText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseText": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
  <ResponseCode>1</ResponseCode>
  <ResponseText>sample string 2</ResponseText>
</ResponseDetail>