POST api/Store/Update?api={api}&id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

string

Required

id

string

Default value is

Body Parameters

StoreModel
NameDescriptionTypeAdditional information
id

string

None.

idkey

string

None.

idpartner

string

None.

idbrandpartner

string

None.

type

integer

None.

code

string

None.

name

string

None.

istotal

boolean

None.

isretail

boolean

None.

isinsureout

boolean

None.

isinsurein

boolean

None.

iscabinet

boolean

None.

iscabinetstuff

boolean

None.

isdrug

boolean

None.

isblood

boolean

None.

isbelonging

boolean

None.

isdispensing

boolean

None.

notuse

boolean

None.

datecreate

string

None.

idcreate

string

None.

namecreate

string

None.

codecreate

string

None.

dateedit

string

None.

idedit

string

None.

nameedit

string

None.

codeedit

string

None.

lsthuman

Collection of StoreHumanAdd

None.

lstdepartment

Collection of StoreDepartmentAdd

None.

lstclinic

Collection of StoreClinicAdd

None.

listsubclinic

Collection of StoreSubClinicAdd

None.

lststore

Collection of StoreInStoreAdd

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "idkey": "sample string 2",
  "idpartner": "sample string 3",
  "idbrandpartner": "sample string 4",
  "type": 1,
  "code": "sample string 5",
  "name": "sample string 6",
  "istotal": true,
  "isretail": true,
  "isinsureout": true,
  "isinsurein": true,
  "iscabinet": true,
  "iscabinetstuff": true,
  "isdrug": true,
  "isblood": true,
  "isbelonging": true,
  "isdispensing": true,
  "notuse": true,
  "datecreate": "sample string 7",
  "idcreate": "sample string 8",
  "namecreate": "sample string 9",
  "codecreate": "sample string 10",
  "dateedit": "sample string 11",
  "idedit": "sample string 12",
  "nameedit": "sample string 13",
  "codeedit": "sample string 14",
  "lsthuman": [
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idstore": "sample string 4",
      "codestore": "sample string 5",
      "namestore": "sample string 6",
      "idhuman": "sample string 7",
      "namehuman": "sample string 8"
    },
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idstore": "sample string 4",
      "codestore": "sample string 5",
      "namestore": "sample string 6",
      "idhuman": "sample string 7",
      "namehuman": "sample string 8"
    }
  ],
  "lstdepartment": [
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idstore": "sample string 4",
      "codestore": "sample string 5",
      "namestore": "sample string 6",
      "iddepartment": "sample string 7",
      "namedepartment": "sample string 8"
    },
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idstore": "sample string 4",
      "codestore": "sample string 5",
      "namestore": "sample string 6",
      "iddepartment": "sample string 7",
      "namedepartment": "sample string 8"
    }
  ],
  "lstclinic": [
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idstore": "sample string 4",
      "codestore": "sample string 5",
      "namestore": "sample string 6",
      "idclinic": "sample string 7",
      "nameclinic": "sample string 8"
    },
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idstore": "sample string 4",
      "codestore": "sample string 5",
      "namestore": "sample string 6",
      "idclinic": "sample string 7",
      "nameclinic": "sample string 8"
    }
  ],
  "listsubclinic": [
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idstore": "sample string 4",
      "codestore": "sample string 5",
      "namestore": "sample string 6",
      "idsubclinic": "sample string 7",
      "codesubclinic": "sample string 8",
      "namesubclinic": "sample string 9"
    },
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idstore": "sample string 4",
      "codestore": "sample string 5",
      "namestore": "sample string 6",
      "idsubclinic": "sample string 7",
      "codesubclinic": "sample string 8",
      "namesubclinic": "sample string 9"
    }
  ],
  "lststore": [
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idstore": "sample string 4",
      "codestore": "sample string 5",
      "namestore": "sample string 6",
      "idview": "sample string 7",
      "nameview": "sample string 8"
    },
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idstore": "sample string 4",
      "codestore": "sample string 5",
      "namestore": "sample string 6",
      "idview": "sample string 7",
      "nameview": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<StoreModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Store">
  <code>sample string 5</code>
  <codecreate>sample string 10</codecreate>
  <codeedit>sample string 14</codeedit>
  <datecreate>sample string 7</datecreate>
  <dateedit>sample string 11</dateedit>
  <id>sample string 1</id>
  <idbrandpartner>sample string 4</idbrandpartner>
  <idcreate>sample string 8</idcreate>
  <idedit>sample string 12</idedit>
  <idkey>sample string 2</idkey>
  <idpartner>sample string 3</idpartner>
  <isbelonging>true</isbelonging>
  <isblood>true</isblood>
  <iscabinet>true</iscabinet>
  <iscabinetstuff>true</iscabinetstuff>
  <isdispensing>true</isdispensing>
  <isdrug>true</isdrug>
  <isinsurein>true</isinsurein>
  <isinsureout>true</isinsureout>
  <isretail>true</isretail>
  <istotal>true</istotal>
  <listsubclinic>
    <StoreSubClinicAdd>
      <codestore>sample string 5</codestore>
      <codesubclinic>sample string 8</codesubclinic>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idpartner>sample string 2</idpartner>
      <idstore>sample string 4</idstore>
      <idsubclinic>sample string 7</idsubclinic>
      <namestore>sample string 6</namestore>
      <namesubclinic>sample string 9</namesubclinic>
    </StoreSubClinicAdd>
    <StoreSubClinicAdd>
      <codestore>sample string 5</codestore>
      <codesubclinic>sample string 8</codesubclinic>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idpartner>sample string 2</idpartner>
      <idstore>sample string 4</idstore>
      <idsubclinic>sample string 7</idsubclinic>
      <namestore>sample string 6</namestore>
      <namesubclinic>sample string 9</namesubclinic>
    </StoreSubClinicAdd>
  </listsubclinic>
  <lstclinic>
    <StoreClinicAdd>
      <codestore>sample string 5</codestore>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idclinic>sample string 7</idclinic>
      <idpartner>sample string 2</idpartner>
      <idstore>sample string 4</idstore>
      <nameclinic>sample string 8</nameclinic>
      <namestore>sample string 6</namestore>
    </StoreClinicAdd>
    <StoreClinicAdd>
      <codestore>sample string 5</codestore>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idclinic>sample string 7</idclinic>
      <idpartner>sample string 2</idpartner>
      <idstore>sample string 4</idstore>
      <nameclinic>sample string 8</nameclinic>
      <namestore>sample string 6</namestore>
    </StoreClinicAdd>
  </lstclinic>
  <lstdepartment>
    <StoreDepartmentAdd>
      <codestore>sample string 5</codestore>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <iddepartment>sample string 7</iddepartment>
      <idpartner>sample string 2</idpartner>
      <idstore>sample string 4</idstore>
      <namedepartment>sample string 8</namedepartment>
      <namestore>sample string 6</namestore>
    </StoreDepartmentAdd>
    <StoreDepartmentAdd>
      <codestore>sample string 5</codestore>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <iddepartment>sample string 7</iddepartment>
      <idpartner>sample string 2</idpartner>
      <idstore>sample string 4</idstore>
      <namedepartment>sample string 8</namedepartment>
      <namestore>sample string 6</namestore>
    </StoreDepartmentAdd>
  </lstdepartment>
  <lsthuman>
    <StoreHumanAdd>
      <codestore>sample string 5</codestore>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idhuman>sample string 7</idhuman>
      <idpartner>sample string 2</idpartner>
      <idstore>sample string 4</idstore>
      <namehuman>sample string 8</namehuman>
      <namestore>sample string 6</namestore>
    </StoreHumanAdd>
    <StoreHumanAdd>
      <codestore>sample string 5</codestore>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idhuman>sample string 7</idhuman>
      <idpartner>sample string 2</idpartner>
      <idstore>sample string 4</idstore>
      <namehuman>sample string 8</namehuman>
      <namestore>sample string 6</namestore>
    </StoreHumanAdd>
  </lsthuman>
  <lststore>
    <StoreInStoreAdd>
      <codestore>sample string 5</codestore>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idpartner>sample string 2</idpartner>
      <idstore>sample string 4</idstore>
      <idview>sample string 7</idview>
      <namestore>sample string 6</namestore>
      <nameview>sample string 8</nameview>
    </StoreInStoreAdd>
    <StoreInStoreAdd>
      <codestore>sample string 5</codestore>
      <id>sample string 1</id>
      <idbrandpartner>sample string 3</idbrandpartner>
      <idpartner>sample string 2</idpartner>
      <idstore>sample string 4</idstore>
      <idview>sample string 7</idview>
      <namestore>sample string 6</namestore>
      <nameview>sample string 8</nameview>
    </StoreInStoreAdd>
  </lststore>
  <name>sample string 6</name>
  <namecreate>sample string 9</namecreate>
  <nameedit>sample string 13</nameedit>
  <notuse>true</notuse>
  <type>1</type>
</StoreModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataUpdate
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

id

string

None.

code

string

None.

code1

string

None.

strprint

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "id": "sample string 3",
  "code": "sample string 4",
  "code1": "sample string 5",
  "strprint": "sample string 6"
}

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"status":"sample string 1","message":"sample string 2","id":"sample string 3","code":"sample string 4","code1":"sample string 5","strprint":"sample string 6"});

application/xml, text/xml

Sample:
<DataUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">
  <code>sample string 4</code>
  <code1>sample string 5</code1>
  <id>sample string 3</id>
  <message>sample string 2</message>
  <status>sample string 1</status>
  <strprint>sample string 6</strprint>
</DataUpdate>