POST api/NTOrderSettings/PostLaboratoryOrderType

Request Information

URI Parameters

None.

Body Parameters

OrderLaboratoryTypeDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

String length: inclusive between 0 and 150

Sequence

integer

None.

Protocols

string

String length: inclusive between 0 and 4000

ListLaboratorySpecimen

Collection of OrderLaboratorySpecimenDTO

None.

ValidFlag

boolean

None.

DateCreated

date

None.

DateUpdated

date

None.

UserIDCreated

integer

None.

UserIDUpdated

integer

None.

CompanyCode

string

String length: inclusive between 0 and 20

IsExcludeDiscount

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Sequence": 3,
  "Protocols": "sample string 4",
  "ListLaboratorySpecimen": [
    {
      "Id": 1,
      "Sequence": 2,
      "OrderLaboratoryTypeId": 3,
      "SpecimenTypeCode": "sample string 4",
      "TangAndCompanyCode": "sample string 5",
      "CPTCode": "sample string 6",
      "SpecimenTypeName": "sample string 7",
      "SpecimenValidFlag": true,
      "Selected": true,
      "LaboratoryId": "sample string 10",
      "IsDefaultSpecimen": true,
      "IsFavourite": true,
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:06:52.8847896-07:00",
      "DateUpdated": "2025-04-03T19:06:52.8847896-07:00",
      "UserIDCreated": 16,
      "UserIDUpdated": 17,
      "CompanyCode": "sample string 18",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "Sequence": 2,
      "OrderLaboratoryTypeId": 3,
      "SpecimenTypeCode": "sample string 4",
      "TangAndCompanyCode": "sample string 5",
      "CPTCode": "sample string 6",
      "SpecimenTypeName": "sample string 7",
      "SpecimenValidFlag": true,
      "Selected": true,
      "LaboratoryId": "sample string 10",
      "IsDefaultSpecimen": true,
      "IsFavourite": true,
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:06:52.8847896-07:00",
      "DateUpdated": "2025-04-03T19:06:52.8847896-07:00",
      "UserIDCreated": 16,
      "UserIDUpdated": 17,
      "CompanyCode": "sample string 18",
      "IsExcludeDiscount": true
    }
  ],
  "ValidFlag": true,
  "DateCreated": "2025-04-03T19:06:52.8847896-07:00",
  "DateUpdated": "2025-04-03T19:06:52.8847896-07:00",
  "UserIDCreated": 8,
  "UserIDUpdated": 9,
  "CompanyCode": "sample string 10",
  "IsExcludeDiscount": true
}

application/xml, text/xml

Sample:
<OrderLaboratoryTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 10</CompanyCode>
  <DateCreated>2025-04-03T19:06:52.8847896-07:00</DateCreated>
  <DateUpdated>2025-04-03T19:06:52.8847896-07:00</DateUpdated>
  <IsExcludeDiscount>true</IsExcludeDiscount>
  <UserIDCreated>8</UserIDCreated>
  <UserIDUpdated>9</UserIDUpdated>
  <ValidFlag>true</ValidFlag>
  <Id>1</Id>
  <ListLaboratorySpecimen>
    <OrderLaboratorySpecimenDTO>
      <CompanyCode>sample string 18</CompanyCode>
      <DateCreated>2025-04-03T19:06:52.8847896-07:00</DateCreated>
      <DateUpdated>2025-04-03T19:06:52.8847896-07:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>16</UserIDCreated>
      <UserIDUpdated>17</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <CPTCode>sample string 6</CPTCode>
      <Id>1</Id>
      <IsDefaultSpecimen>true</IsDefaultSpecimen>
      <IsFavourite>true</IsFavourite>
      <LaboratoryId>sample string 10</LaboratoryId>
      <OrderLaboratoryTypeId>3</OrderLaboratoryTypeId>
      <Selected>true</Selected>
      <Sequence>2</Sequence>
      <SpecimenTypeCode>sample string 4</SpecimenTypeCode>
      <SpecimenTypeName>sample string 7</SpecimenTypeName>
      <SpecimenValidFlag>true</SpecimenValidFlag>
      <TangAndCompanyCode>sample string 5</TangAndCompanyCode>
    </OrderLaboratorySpecimenDTO>
    <OrderLaboratorySpecimenDTO>
      <CompanyCode>sample string 18</CompanyCode>
      <DateCreated>2025-04-03T19:06:52.8847896-07:00</DateCreated>
      <DateUpdated>2025-04-03T19:06:52.8847896-07:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>16</UserIDCreated>
      <UserIDUpdated>17</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <CPTCode>sample string 6</CPTCode>
      <Id>1</Id>
      <IsDefaultSpecimen>true</IsDefaultSpecimen>
      <IsFavourite>true</IsFavourite>
      <LaboratoryId>sample string 10</LaboratoryId>
      <OrderLaboratoryTypeId>3</OrderLaboratoryTypeId>
      <Selected>true</Selected>
      <Sequence>2</Sequence>
      <SpecimenTypeCode>sample string 4</SpecimenTypeCode>
      <SpecimenTypeName>sample string 7</SpecimenTypeName>
      <SpecimenValidFlag>true</SpecimenValidFlag>
      <TangAndCompanyCode>sample string 5</TangAndCompanyCode>
    </OrderLaboratorySpecimenDTO>
  </ListLaboratorySpecimen>
  <Name>sample string 2</Name>
  <Protocols>sample string 4</Protocols>
  <Sequence>3</Sequence>
</OrderLaboratoryTypeDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfOrderLaboratoryTypeDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

OrderLaboratoryTypeDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "Name": "sample string 2",
    "Sequence": 3,
    "Protocols": "sample string 4",
    "ListLaboratorySpecimen": [
      {
        "Id": 1,
        "Sequence": 2,
        "OrderLaboratoryTypeId": 3,
        "SpecimenTypeCode": "sample string 4",
        "TangAndCompanyCode": "sample string 5",
        "CPTCode": "sample string 6",
        "SpecimenTypeName": "sample string 7",
        "SpecimenValidFlag": true,
        "Selected": true,
        "LaboratoryId": "sample string 10",
        "IsDefaultSpecimen": true,
        "IsFavourite": true,
        "ValidFlag": true,
        "DateCreated": "2025-04-03T19:06:53.2600321-07:00",
        "DateUpdated": "2025-04-03T19:06:53.2600321-07:00",
        "UserIDCreated": 16,
        "UserIDUpdated": 17,
        "CompanyCode": "sample string 18",
        "IsExcludeDiscount": true
      },
      {
        "Id": 1,
        "Sequence": 2,
        "OrderLaboratoryTypeId": 3,
        "SpecimenTypeCode": "sample string 4",
        "TangAndCompanyCode": "sample string 5",
        "CPTCode": "sample string 6",
        "SpecimenTypeName": "sample string 7",
        "SpecimenValidFlag": true,
        "Selected": true,
        "LaboratoryId": "sample string 10",
        "IsDefaultSpecimen": true,
        "IsFavourite": true,
        "ValidFlag": true,
        "DateCreated": "2025-04-03T19:06:53.2600321-07:00",
        "DateUpdated": "2025-04-03T19:06:53.2600321-07:00",
        "UserIDCreated": 16,
        "UserIDUpdated": 17,
        "CompanyCode": "sample string 18",
        "IsExcludeDiscount": true
      }
    ],
    "ValidFlag": true,
    "DateCreated": "2025-04-03T19:06:53.2600321-07:00",
    "DateUpdated": "2025-04-03T19:06:53.2600321-07:00",
    "UserIDCreated": 8,
    "UserIDUpdated": 9,
    "CompanyCode": "sample string 10",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfOrderLaboratoryTypeDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
    <d2p1:CompanyCode>sample string 10</d2p1:CompanyCode>
    <d2p1:DateCreated>2025-04-03T19:06:53.2600321-07:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2025-04-03T19:06:53.2600321-07:00</d2p1:DateUpdated>
    <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
    <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
    <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:ListLaboratorySpecimen>
      <d2p1:OrderLaboratorySpecimenDTO>
        <d2p1:CompanyCode>sample string 18</d2p1:CompanyCode>
        <d2p1:DateCreated>2025-04-03T19:06:53.2600321-07:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2025-04-03T19:06:53.2600321-07:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>16</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>17</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:CPTCode>sample string 6</d2p1:CPTCode>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:IsDefaultSpecimen>true</d2p1:IsDefaultSpecimen>
        <d2p1:IsFavourite>true</d2p1:IsFavourite>
        <d2p1:LaboratoryId>sample string 10</d2p1:LaboratoryId>
        <d2p1:OrderLaboratoryTypeId>3</d2p1:OrderLaboratoryTypeId>
        <d2p1:Selected>true</d2p1:Selected>
        <d2p1:Sequence>2</d2p1:Sequence>
        <d2p1:SpecimenTypeCode>sample string 4</d2p1:SpecimenTypeCode>
        <d2p1:SpecimenTypeName>sample string 7</d2p1:SpecimenTypeName>
        <d2p1:SpecimenValidFlag>true</d2p1:SpecimenValidFlag>
        <d2p1:TangAndCompanyCode>sample string 5</d2p1:TangAndCompanyCode>
      </d2p1:OrderLaboratorySpecimenDTO>
      <d2p1:OrderLaboratorySpecimenDTO>
        <d2p1:CompanyCode>sample string 18</d2p1:CompanyCode>
        <d2p1:DateCreated>2025-04-03T19:06:53.2600321-07:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2025-04-03T19:06:53.2600321-07:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>16</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>17</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:CPTCode>sample string 6</d2p1:CPTCode>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:IsDefaultSpecimen>true</d2p1:IsDefaultSpecimen>
        <d2p1:IsFavourite>true</d2p1:IsFavourite>
        <d2p1:LaboratoryId>sample string 10</d2p1:LaboratoryId>
        <d2p1:OrderLaboratoryTypeId>3</d2p1:OrderLaboratoryTypeId>
        <d2p1:Selected>true</d2p1:Selected>
        <d2p1:Sequence>2</d2p1:Sequence>
        <d2p1:SpecimenTypeCode>sample string 4</d2p1:SpecimenTypeCode>
        <d2p1:SpecimenTypeName>sample string 7</d2p1:SpecimenTypeName>
        <d2p1:SpecimenValidFlag>true</d2p1:SpecimenValidFlag>
        <d2p1:TangAndCompanyCode>sample string 5</d2p1:TangAndCompanyCode>
      </d2p1:OrderLaboratorySpecimenDTO>
    </d2p1:ListLaboratorySpecimen>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:Protocols>sample string 4</d2p1:Protocols>
    <d2p1:Sequence>3</d2p1:Sequence>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfOrderLaboratoryTypeDTO3NYuOdgi>