POST api/Setup?facilityID={facilityID}

Setup with new sites and facilities after validation.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
facilityID

target facility id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ValidateValues
NameDescriptionTypeAdditional information
SynchronousList

Collection of ValidateSynchronous

None.

ForeignKeyList

Collection of ValidateForeignKey

None.

Response Formats

application/json, text/json

Sample:
{
  "SynchronousList": [
    {
      "Table": "sample string 1",
      "DataId": 2,
      "ErrorColumns": "sample string 3"
    },
    {
      "Table": "sample string 1",
      "DataId": 2,
      "ErrorColumns": "sample string 3"
    }
  ],
  "ForeignKeyList": [
    {
      "DataId": 1,
      "Table": "sample string 2",
      "Column": "sample string 3",
      "ColumnDataId": 4
    },
    {
      "DataId": 1,
      "Table": "sample string 2",
      "Column": "sample string 3",
      "ColumnDataId": 4
    }
  ]
}

application/xml, text/xml

Sample:
<ValidateValues xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models">
  <ForeignKeyList>
    <ValidateForeignKey>
      <Column>sample string 3</Column>
      <ColumnDataId>4</ColumnDataId>
      <DataId>1</DataId>
      <Table>sample string 2</Table>
    </ValidateForeignKey>
    <ValidateForeignKey>
      <Column>sample string 3</Column>
      <ColumnDataId>4</ColumnDataId>
      <DataId>1</DataId>
      <Table>sample string 2</Table>
    </ValidateForeignKey>
  </ForeignKeyList>
  <SynchronousList>
    <ValidateSynchronous>
      <DataId>2</DataId>
      <ErrorColumns>sample string 3</ErrorColumns>
      <Table>sample string 1</Table>
    </ValidateSynchronous>
    <ValidateSynchronous>
      <DataId>2</DataId>
      <ErrorColumns>sample string 3</ErrorColumns>
      <Table>sample string 1</Table>
    </ValidateSynchronous>
  </SynchronousList>
</ValidateValues>