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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

string

Required

id

string

Default value is

Body Parameters

SubClinicOrg
NameDescriptionTypeAdditional information
id

string

None.

idkey

string

None.

idpartner

string

None.

idbrandpartner

string

None.

iddepartment

string

None.

namedepartment

string

None.

code

string

None.

name

string

None.

qty

integer

None.

idmodelservice

integer

None.

namemodelservice

string

None.

type

integer

None.

ordering

integer

None.

notuse

boolean

None.

datecreate

string

None.

idcreate

string

None.

codecreate

string

None.

namecreate

string

None.

dateedit

string

None.

idedit

string

None.

codeedit

string

None.

nameedit

string

None.

lstwork

Collection of ClinicOrgSubClinicAdd

None.

lstequipment

Collection of SubClinicEquipmentAdd

None.

lststore

Collection of StoreSubClinicAdd

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "idkey": "sample string 2",
  "idpartner": "sample string 3",
  "idbrandpartner": "sample string 4",
  "iddepartment": "sample string 5",
  "namedepartment": "sample string 6",
  "code": "sample string 7",
  "name": "sample string 8",
  "qty": 1,
  "idmodelservice": 1,
  "namemodelservice": "sample string 9",
  "type": 1,
  "ordering": 1,
  "notuse": true,
  "datecreate": "sample string 10",
  "idcreate": "sample string 11",
  "codecreate": "sample string 12",
  "namecreate": "sample string 13",
  "dateedit": "sample string 14",
  "idedit": "sample string 15",
  "codeedit": "sample string 16",
  "nameedit": "sample string 17",
  "lstwork": [
    {
      "id": "sample string 1",
      "idkey": "sample string 2",
      "idpartner": "sample string 3",
      "idbrandpartner": "sample string 4",
      "idclinic": "sample string 5",
      "nameclinic": "sample string 6",
      "idsubclinic": "sample string 7",
      "namesubclinic": "sample string 8",
      "t2": true,
      "t3": true,
      "t4": true,
      "t5": true,
      "t6": true,
      "t7": true,
      "cn": true,
      "overtime": true,
      "notvote": true,
      "notorderby": true
    },
    {
      "id": "sample string 1",
      "idkey": "sample string 2",
      "idpartner": "sample string 3",
      "idbrandpartner": "sample string 4",
      "idclinic": "sample string 5",
      "nameclinic": "sample string 6",
      "idsubclinic": "sample string 7",
      "namesubclinic": "sample string 8",
      "t2": true,
      "t3": true,
      "t4": true,
      "t5": true,
      "t6": true,
      "t7": true,
      "cn": true,
      "overtime": true,
      "notvote": true,
      "notorderby": true
    }
  ],
  "lstequipment": [
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idsubclinic": "sample string 4",
      "codeinsure": "sample string 5",
      "idequipment": "sample string 6",
      "codeeequipment": "sample string 7",
      "nameequipment": "sample string 8"
    },
    {
      "id": "sample string 1",
      "idpartner": "sample string 2",
      "idbrandpartner": "sample string 3",
      "idsubclinic": "sample string 4",
      "codeinsure": "sample string 5",
      "idequipment": "sample string 6",
      "codeeequipment": "sample string 7",
      "nameequipment": "sample string 8"
    }
  ],
  "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",
      "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"
    }
  ]
}

application/xml, text/xml

Sample:
<SubClinicOrg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Library.Organization">
  <code>sample string 7</code>
  <codecreate>sample string 12</codecreate>
  <codeedit>sample string 16</codeedit>
  <datecreate>sample string 10</datecreate>
  <dateedit>sample string 14</dateedit>
  <id>sample string 1</id>
  <idbrandpartner>sample string 4</idbrandpartner>
  <idcreate>sample string 11</idcreate>
  <iddepartment>sample string 5</iddepartment>
  <idedit>sample string 15</idedit>
  <idkey>sample string 2</idkey>
  <idmodelservice>1</idmodelservice>
  <idpartner>sample string 3</idpartner>
  <lstequipment xmlns:d2p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Equipment">
    <d2p1:SubClinicEquipmentAdd>
      <d2p1:codeeequipment>sample string 7</d2p1:codeeequipment>
      <d2p1:codeinsure>sample string 5</d2p1:codeinsure>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:idbrandpartner>sample string 3</d2p1:idbrandpartner>
      <d2p1:idequipment>sample string 6</d2p1:idequipment>
      <d2p1:idpartner>sample string 2</d2p1:idpartner>
      <d2p1:idsubclinic>sample string 4</d2p1:idsubclinic>
      <d2p1:nameequipment>sample string 8</d2p1:nameequipment>
    </d2p1:SubClinicEquipmentAdd>
    <d2p1:SubClinicEquipmentAdd>
      <d2p1:codeeequipment>sample string 7</d2p1:codeeequipment>
      <d2p1:codeinsure>sample string 5</d2p1:codeinsure>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:idbrandpartner>sample string 3</d2p1:idbrandpartner>
      <d2p1:idequipment>sample string 6</d2p1:idequipment>
      <d2p1:idpartner>sample string 2</d2p1:idpartner>
      <d2p1:idsubclinic>sample string 4</d2p1:idsubclinic>
      <d2p1:nameequipment>sample string 8</d2p1:nameequipment>
    </d2p1:SubClinicEquipmentAdd>
  </lstequipment>
  <lststore xmlns:d2p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Store">
    <d2p1:StoreSubClinicAdd>
      <d2p1:codestore>sample string 5</d2p1:codestore>
      <d2p1:codesubclinic>sample string 8</d2p1:codesubclinic>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:idbrandpartner>sample string 3</d2p1:idbrandpartner>
      <d2p1:idpartner>sample string 2</d2p1:idpartner>
      <d2p1:idstore>sample string 4</d2p1:idstore>
      <d2p1:idsubclinic>sample string 7</d2p1:idsubclinic>
      <d2p1:namestore>sample string 6</d2p1:namestore>
      <d2p1:namesubclinic>sample string 9</d2p1:namesubclinic>
    </d2p1:StoreSubClinicAdd>
    <d2p1:StoreSubClinicAdd>
      <d2p1:codestore>sample string 5</d2p1:codestore>
      <d2p1:codesubclinic>sample string 8</d2p1:codesubclinic>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:idbrandpartner>sample string 3</d2p1:idbrandpartner>
      <d2p1:idpartner>sample string 2</d2p1:idpartner>
      <d2p1:idstore>sample string 4</d2p1:idstore>
      <d2p1:idsubclinic>sample string 7</d2p1:idsubclinic>
      <d2p1:namestore>sample string 6</d2p1:namestore>
      <d2p1:namesubclinic>sample string 9</d2p1:namesubclinic>
    </d2p1:StoreSubClinicAdd>
  </lststore>
  <lstwork>
    <ClinicOrgSubClinicAdd>
      <cn>true</cn>
      <id>sample string 1</id>
      <idbrandpartner>sample string 4</idbrandpartner>
      <idclinic>sample string 5</idclinic>
      <idkey>sample string 2</idkey>
      <idpartner>sample string 3</idpartner>
      <idsubclinic>sample string 7</idsubclinic>
      <nameclinic>sample string 6</nameclinic>
      <namesubclinic>sample string 8</namesubclinic>
      <notorderby>true</notorderby>
      <notvote>true</notvote>
      <overtime>true</overtime>
      <t2>true</t2>
      <t3>true</t3>
      <t4>true</t4>
      <t5>true</t5>
      <t6>true</t6>
      <t7>true</t7>
    </ClinicOrgSubClinicAdd>
    <ClinicOrgSubClinicAdd>
      <cn>true</cn>
      <id>sample string 1</id>
      <idbrandpartner>sample string 4</idbrandpartner>
      <idclinic>sample string 5</idclinic>
      <idkey>sample string 2</idkey>
      <idpartner>sample string 3</idpartner>
      <idsubclinic>sample string 7</idsubclinic>
      <nameclinic>sample string 6</nameclinic>
      <namesubclinic>sample string 8</namesubclinic>
      <notorderby>true</notorderby>
      <notvote>true</notvote>
      <overtime>true</overtime>
      <t2>true</t2>
      <t3>true</t3>
      <t4>true</t4>
      <t5>true</t5>
      <t6>true</t6>
      <t7>true</t7>
    </ClinicOrgSubClinicAdd>
  </lstwork>
  <name>sample string 8</name>
  <namecreate>sample string 13</namecreate>
  <namedepartment>sample string 6</namedepartment>
  <nameedit>sample string 17</nameedit>
  <namemodelservice>sample string 9</namemodelservice>
  <notuse>true</notuse>
  <ordering>1</ordering>
  <qty>1</qty>
  <type>1</type>
</SubClinicOrg>

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>