POST api/Store/Create

Request Information

URI Parameters

None.

Body Parameters

StoreRegistration
NameDescriptionTypeAdditional information
StoreRegistrationId

globally unique identifier

None.

StoreName

string

Max length: 100

StoreAreaId

integer

None.

CompanyId

integer

None.

StoreContactPerson

string

Max length: 100

StoreContactNumber

string

None.

PaymentTermId

integer

None.

StoreAddress

string

Max length: 500

PaymentTermIdString

string

None.

CompanyNameId

string

None.

response

Response

None.

StoreAreaIdString

string

None.

ProductPricelist

Collection of ProductPricing

None.

CreatedBy

globally unique identifier

None.

CreatedDate

date

None.

EditedBy

globally unique identifier

None.

EditedDate

date

None.

IsActive

boolean

None.

IsDelete

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StoreRegistrationId": "14e975b7-b0aa-4fe7-93e9-58f8398a855c",
  "StoreName": "sample string 2",
  "StoreAreaId": 3,
  "CompanyId": 4,
  "StoreContactPerson": "sample string 5",
  "StoreContactNumber": "sample string 6",
  "PaymentTermId": 7,
  "StoreAddress": "sample string 8",
  "PaymentTermIdString": "sample string 9",
  "CompanyNameId": "sample string 10",
  "response": {
    "Error": "sample string 1",
    "Success": "sample string 2"
  },
  "StoreAreaIdString": "sample string 11",
  "ProductPricelist": [
    {
      "ProductPricingId": "8472ed70-7bac-4a05-bca3-a974ae7ec188",
      "ProductId": "7fdde50d-2a32-49cf-a7a3-107581187806",
      "PackingSizeId": "3955a4fd-411a-424b-b3e5-5f503868c23d",
      "PricePerPack": 4.0,
      "StoreRegistrationId": "f89267d5-825d-4397-80e9-43280f16e461",
      "PackingSizeName": "sample string 6",
      "ProductName": "sample string 7",
      "packingSize": "sample string 8",
      "response": {
        "Error": "sample string 1",
        "Success": "sample string 2"
      },
      "CreatedBy": "444d00d3-41f0-47bf-a57a-34266e490092",
      "CreatedDate": "2025-12-10T21:35:53.7449238-06:00",
      "EditedBy": "40198f40-a520-4e87-9f38-2582bbcd1c0d",
      "EditedDate": "2025-12-10T21:35:53.7449238-06:00",
      "IsActive": true,
      "IsDelete": true
    },
    {
      "ProductPricingId": "8472ed70-7bac-4a05-bca3-a974ae7ec188",
      "ProductId": "7fdde50d-2a32-49cf-a7a3-107581187806",
      "PackingSizeId": "3955a4fd-411a-424b-b3e5-5f503868c23d",
      "PricePerPack": 4.0,
      "StoreRegistrationId": "f89267d5-825d-4397-80e9-43280f16e461",
      "PackingSizeName": "sample string 6",
      "ProductName": "sample string 7",
      "packingSize": "sample string 8",
      "response": {
        "Error": "sample string 1",
        "Success": "sample string 2"
      },
      "CreatedBy": "444d00d3-41f0-47bf-a57a-34266e490092",
      "CreatedDate": "2025-12-10T21:35:53.7449238-06:00",
      "EditedBy": "40198f40-a520-4e87-9f38-2582bbcd1c0d",
      "EditedDate": "2025-12-10T21:35:53.7449238-06:00",
      "IsActive": true,
      "IsDelete": true
    }
  ],
  "CreatedBy": "d4726a4d-0b37-4eb5-a6a9-90469c25c660",
  "CreatedDate": "2025-12-10T21:35:53.7449238-06:00",
  "EditedBy": "17f39aa7-217a-4827-a2b5-683e91b6795d",
  "EditedDate": "2025-12-10T21:35:53.7449238-06:00",
  "IsActive": true,
  "IsDelete": true
}

application/xml, text/xml

Sample:
<StoreRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core2.Model">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">d4726a4d-0b37-4eb5-a6a9-90469c25c660</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:35:53.7449238-06:00</CreatedDate>
  <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">17f39aa7-217a-4827-a2b5-683e91b6795d</EditedBy>
  <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:35:53.7449238-06:00</EditedDate>
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsActive>
  <IsDelete xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsDelete>
  <CompanyId>4</CompanyId>
  <CompanyNameId>sample string 10</CompanyNameId>
  <PaymentTermId>7</PaymentTermId>
  <PaymentTermIdString>sample string 9</PaymentTermIdString>
  <ProductPricelist>
    <ProductPricing>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">444d00d3-41f0-47bf-a57a-34266e490092</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:35:53.7449238-06:00</CreatedDate>
      <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">40198f40-a520-4e87-9f38-2582bbcd1c0d</EditedBy>
      <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:35:53.7449238-06:00</EditedDate>
      <IsActive xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsActive>
      <IsDelete xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsDelete>
      <PackingSizeId>3955a4fd-411a-424b-b3e5-5f503868c23d</PackingSizeId>
      <PackingSizeName>sample string 6</PackingSizeName>
      <PricePerPack>4</PricePerPack>
      <ProductId>7fdde50d-2a32-49cf-a7a3-107581187806</ProductId>
      <ProductName>sample string 7</ProductName>
      <ProductPricingId>8472ed70-7bac-4a05-bca3-a974ae7ec188</ProductPricingId>
      <StoreRegistrationId>f89267d5-825d-4397-80e9-43280f16e461</StoreRegistrationId>
      <packingSize>sample string 8</packingSize>
      <response xmlns:d4p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
        <d4p1:Error>sample string 1</d4p1:Error>
        <d4p1:Success>sample string 2</d4p1:Success>
      </response>
    </ProductPricing>
    <ProductPricing>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">444d00d3-41f0-47bf-a57a-34266e490092</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:35:53.7449238-06:00</CreatedDate>
      <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">40198f40-a520-4e87-9f38-2582bbcd1c0d</EditedBy>
      <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:35:53.7449238-06:00</EditedDate>
      <IsActive xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsActive>
      <IsDelete xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsDelete>
      <PackingSizeId>3955a4fd-411a-424b-b3e5-5f503868c23d</PackingSizeId>
      <PackingSizeName>sample string 6</PackingSizeName>
      <PricePerPack>4</PricePerPack>
      <ProductId>7fdde50d-2a32-49cf-a7a3-107581187806</ProductId>
      <ProductName>sample string 7</ProductName>
      <ProductPricingId>8472ed70-7bac-4a05-bca3-a974ae7ec188</ProductPricingId>
      <StoreRegistrationId>f89267d5-825d-4397-80e9-43280f16e461</StoreRegistrationId>
      <packingSize>sample string 8</packingSize>
      <response xmlns:d4p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
        <d4p1:Error>sample string 1</d4p1:Error>
        <d4p1:Success>sample string 2</d4p1:Success>
      </response>
    </ProductPricing>
  </ProductPricelist>
  <StoreAddress>sample string 8</StoreAddress>
  <StoreAreaId>3</StoreAreaId>
  <StoreAreaIdString>sample string 11</StoreAreaIdString>
  <StoreContactNumber>sample string 6</StoreContactNumber>
  <StoreContactPerson>sample string 5</StoreContactPerson>
  <StoreName>sample string 2</StoreName>
  <StoreRegistrationId>14e975b7-b0aa-4fe7-93e9-58f8398a855c</StoreRegistrationId>
  <response xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
    <d2p1:Error>sample string 1</d2p1:Error>
    <d2p1:Success>sample string 2</d2p1:Success>
  </response>
</StoreRegistration>

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.