POST api/CustomerDetails/InsertProductSubCategoryInBulk

Request Information

URI Parameters

None.

Body Parameters

ProducSubCategoryDtoList
NameDescriptionTypeAdditional information
data

Collection of ProducSubCategoryDto

None.

Request Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "subCategoryname": "sample string 1",
      "subCategorycode": "sample string 2",
      "subCategorydescription": "sample string 3",
      "categoryCode": "sample string 4",
      "ordering": 5
    },
    {
      "subCategoryname": "sample string 1",
      "subCategorycode": "sample string 2",
      "subCategorydescription": "sample string 3",
      "categoryCode": "sample string 4",
      "ordering": 5
    }
  ]
}

application/xml, text/xml

Sample:
<ProducSubCategoryDtoList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PD_MC.Dtos">
  <data>
    <ProducSubCategoryDto>
      <CategoryCode>sample string 4</CategoryCode>
      <Ordering>5</Ordering>
      <SubCategorycode>sample string 2</SubCategorycode>
      <SubCategorydescription>sample string 3</SubCategorydescription>
      <SubCategoryname>sample string 1</SubCategoryname>
    </ProducSubCategoryDto>
    <ProducSubCategoryDto>
      <CategoryCode>sample string 4</CategoryCode>
      <Ordering>5</Ordering>
      <SubCategorycode>sample string 2</SubCategorycode>
      <SubCategorydescription>sample string 3</SubCategorydescription>
      <SubCategoryname>sample string 1</SubCategoryname>
    </ProducSubCategoryDto>
  </data>
</ProducSubCategoryDtoList>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="data[0].SubCategoryname"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="data[0].SubCategorycode"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="data[0].SubCategorydescription"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="data[0].CategoryCode"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="data[0].Ordering"

5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="data[1].SubCategoryname"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="data[1].SubCategorycode"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="data[1].SubCategorydescription"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="data[1].CategoryCode"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="data[1].Ordering"

5
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name=""

System.Object
--MultipartDataMediaFormatterBoundary1q2w3e--