POST api/NTOrderSettings/PostOrderProcedureType

Request Information

URI Parameters

None.

Body Parameters

OrderProcedureTypeDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Sequence

integer

None.

Name

string

String length: inclusive between 0 and 100

SubTypeName

string

String length: inclusive between 0 and 100

CPTCode

string

String length: inclusive between 0 and 20

TangAndCompanyCode

string

String length: inclusive between 0 and 20

Todaydate

date

None.

Protocols

string

String length: inclusive between 0 and 4000

ListProcedureSubType

Collection of OrderProcedureSubTypeDTO

None.

ListOrderProcedureTemplate

Collection of OrderProcedureTemplateDTO

None.

Code

string

String length: inclusive between 0 and 20

IsAuthorizationRequired

boolean

None.

IsFavourite

boolean

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,
  "Sequence": 2,
  "Name": "sample string 3",
  "SubTypeName": "sample string 4",
  "CPTCode": "sample string 5",
  "TangAndCompanyCode": "sample string 6",
  "Todaydate": "2025-04-03T19:03:14.1736665-07:00",
  "Protocols": "sample string 7",
  "ListProcedureSubType": [
    {
      "Id": 1,
      "Sequence": 2,
      "OrderProcedureTypeId": 3,
      "Name": "sample string 4",
      "CPTCode": "sample string 5",
      "TangAndCompanyCode": "sample string 6",
      "Selected": true,
      "IsFavourite": true,
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:03:14.1867046-07:00",
      "DateUpdated": "2025-04-03T19:03:14.1867046-07:00",
      "UserIDCreated": 12,
      "UserIDUpdated": 13,
      "CompanyCode": "sample string 14",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "Sequence": 2,
      "OrderProcedureTypeId": 3,
      "Name": "sample string 4",
      "CPTCode": "sample string 5",
      "TangAndCompanyCode": "sample string 6",
      "Selected": true,
      "IsFavourite": true,
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:03:14.1867046-07:00",
      "DateUpdated": "2025-04-03T19:03:14.1867046-07:00",
      "UserIDCreated": 12,
      "UserIDUpdated": 13,
      "CompanyCode": "sample string 14",
      "IsExcludeDiscount": true
    }
  ],
  "ListOrderProcedureTemplate": [
    {
      "Id": 1,
      "OrderProcedureTypeId": 2,
      "Sequence": 3,
      "Name": "sample string 4",
      "Template": "sample string 5",
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:03:14.1872414-07:00",
      "DateUpdated": "2025-04-03T19:03:14.1872414-07:00",
      "UserIDCreated": 9,
      "UserIDUpdated": 10,
      "CompanyCode": "sample string 11",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "OrderProcedureTypeId": 2,
      "Sequence": 3,
      "Name": "sample string 4",
      "Template": "sample string 5",
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:03:14.1872414-07:00",
      "DateUpdated": "2025-04-03T19:03:14.1872414-07:00",
      "UserIDCreated": 9,
      "UserIDUpdated": 10,
      "CompanyCode": "sample string 11",
      "IsExcludeDiscount": true
    }
  ],
  "Code": "sample string 8",
  "IsAuthorizationRequired": true,
  "IsFavourite": true,
  "ValidFlag": true,
  "DateCreated": "2025-04-03T19:03:14.1897542-07:00",
  "DateUpdated": "2025-04-03T19:03:14.1897542-07:00",
  "UserIDCreated": 14,
  "UserIDUpdated": 15,
  "CompanyCode": "sample string 16",
  "IsExcludeDiscount": true
}

application/xml, text/xml

Sample:
<OrderProcedureTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 16</CompanyCode>
  <DateCreated>2025-04-03T19:03:14.1897542-07:00</DateCreated>
  <DateUpdated>2025-04-03T19:03:14.1897542-07:00</DateUpdated>
  <IsExcludeDiscount>true</IsExcludeDiscount>
  <UserIDCreated>14</UserIDCreated>
  <UserIDUpdated>15</UserIDUpdated>
  <ValidFlag>true</ValidFlag>
  <CPTCode>sample string 5</CPTCode>
  <Code>sample string 8</Code>
  <Id>1</Id>
  <IsAuthorizationRequired>true</IsAuthorizationRequired>
  <IsFavourite>true</IsFavourite>
  <ListOrderProcedureTemplate>
    <OrderProcedureTemplateDTO>
      <CompanyCode>sample string 11</CompanyCode>
      <DateCreated>2025-04-03T19:03:14.1872414-07:00</DateCreated>
      <DateUpdated>2025-04-03T19:03:14.1872414-07:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>9</UserIDCreated>
      <UserIDUpdated>10</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <Id>1</Id>
      <Name>sample string 4</Name>
      <OrderProcedureTypeId>2</OrderProcedureTypeId>
      <Sequence>3</Sequence>
      <Template>sample string 5</Template>
    </OrderProcedureTemplateDTO>
    <OrderProcedureTemplateDTO>
      <CompanyCode>sample string 11</CompanyCode>
      <DateCreated>2025-04-03T19:03:14.1872414-07:00</DateCreated>
      <DateUpdated>2025-04-03T19:03:14.1872414-07:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>9</UserIDCreated>
      <UserIDUpdated>10</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <Id>1</Id>
      <Name>sample string 4</Name>
      <OrderProcedureTypeId>2</OrderProcedureTypeId>
      <Sequence>3</Sequence>
      <Template>sample string 5</Template>
    </OrderProcedureTemplateDTO>
  </ListOrderProcedureTemplate>
  <ListProcedureSubType>
    <OrderProcedureSubTypeDTO>
      <CompanyCode>sample string 14</CompanyCode>
      <DateCreated>2025-04-03T19:03:14.1867046-07:00</DateCreated>
      <DateUpdated>2025-04-03T19:03:14.1867046-07:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>12</UserIDCreated>
      <UserIDUpdated>13</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <CPTCode>sample string 5</CPTCode>
      <Id>1</Id>
      <IsFavourite>true</IsFavourite>
      <Name>sample string 4</Name>
      <OrderProcedureTypeId>3</OrderProcedureTypeId>
      <Selected>true</Selected>
      <Sequence>2</Sequence>
      <TangAndCompanyCode>sample string 6</TangAndCompanyCode>
    </OrderProcedureSubTypeDTO>
    <OrderProcedureSubTypeDTO>
      <CompanyCode>sample string 14</CompanyCode>
      <DateCreated>2025-04-03T19:03:14.1867046-07:00</DateCreated>
      <DateUpdated>2025-04-03T19:03:14.1867046-07:00</DateUpdated>
      <IsExcludeDiscount>true</IsExcludeDiscount>
      <UserIDCreated>12</UserIDCreated>
      <UserIDUpdated>13</UserIDUpdated>
      <ValidFlag>true</ValidFlag>
      <CPTCode>sample string 5</CPTCode>
      <Id>1</Id>
      <IsFavourite>true</IsFavourite>
      <Name>sample string 4</Name>
      <OrderProcedureTypeId>3</OrderProcedureTypeId>
      <Selected>true</Selected>
      <Sequence>2</Sequence>
      <TangAndCompanyCode>sample string 6</TangAndCompanyCode>
    </OrderProcedureSubTypeDTO>
  </ListProcedureSubType>
  <Name>sample string 3</Name>
  <Protocols>sample string 7</Protocols>
  <Sequence>2</Sequence>
  <SubTypeName>sample string 4</SubTypeName>
  <TangAndCompanyCode>sample string 6</TangAndCompanyCode>
  <Todaydate>2025-04-03T19:03:14.1736665-07:00</Todaydate>
</OrderProcedureTypeDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfOrderProcedureTypeDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

OrderProcedureTypeDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "Sequence": 2,
    "Name": "sample string 3",
    "SubTypeName": "sample string 4",
    "CPTCode": "sample string 5",
    "TangAndCompanyCode": "sample string 6",
    "Todaydate": "2025-04-03T19:03:14.4212807-07:00",
    "Protocols": "sample string 7",
    "ListProcedureSubType": [
      {
        "Id": 1,
        "Sequence": 2,
        "OrderProcedureTypeId": 3,
        "Name": "sample string 4",
        "CPTCode": "sample string 5",
        "TangAndCompanyCode": "sample string 6",
        "Selected": true,
        "IsFavourite": true,
        "ValidFlag": true,
        "DateCreated": "2025-04-03T19:03:14.4212807-07:00",
        "DateUpdated": "2025-04-03T19:03:14.4212807-07:00",
        "UserIDCreated": 12,
        "UserIDUpdated": 13,
        "CompanyCode": "sample string 14",
        "IsExcludeDiscount": true
      },
      {
        "Id": 1,
        "Sequence": 2,
        "OrderProcedureTypeId": 3,
        "Name": "sample string 4",
        "CPTCode": "sample string 5",
        "TangAndCompanyCode": "sample string 6",
        "Selected": true,
        "IsFavourite": true,
        "ValidFlag": true,
        "DateCreated": "2025-04-03T19:03:14.4212807-07:00",
        "DateUpdated": "2025-04-03T19:03:14.4212807-07:00",
        "UserIDCreated": 12,
        "UserIDUpdated": 13,
        "CompanyCode": "sample string 14",
        "IsExcludeDiscount": true
      }
    ],
    "ListOrderProcedureTemplate": [
      {
        "Id": 1,
        "OrderProcedureTypeId": 2,
        "Sequence": 3,
        "Name": "sample string 4",
        "Template": "sample string 5",
        "ValidFlag": true,
        "DateCreated": "2025-04-03T19:03:14.4212807-07:00",
        "DateUpdated": "2025-04-03T19:03:14.4212807-07:00",
        "UserIDCreated": 9,
        "UserIDUpdated": 10,
        "CompanyCode": "sample string 11",
        "IsExcludeDiscount": true
      },
      {
        "Id": 1,
        "OrderProcedureTypeId": 2,
        "Sequence": 3,
        "Name": "sample string 4",
        "Template": "sample string 5",
        "ValidFlag": true,
        "DateCreated": "2025-04-03T19:03:14.4212807-07:00",
        "DateUpdated": "2025-04-03T19:03:14.4212807-07:00",
        "UserIDCreated": 9,
        "UserIDUpdated": 10,
        "CompanyCode": "sample string 11",
        "IsExcludeDiscount": true
      }
    ],
    "Code": "sample string 8",
    "IsAuthorizationRequired": true,
    "IsFavourite": true,
    "ValidFlag": true,
    "DateCreated": "2025-04-03T19:03:14.4212807-07:00",
    "DateUpdated": "2025-04-03T19:03:14.4212807-07:00",
    "UserIDCreated": 14,
    "UserIDUpdated": 15,
    "CompanyCode": "sample string 16",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfOrderProcedureTypeDTO3NYuOdgi 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 16</d2p1:CompanyCode>
    <d2p1:DateCreated>2025-04-03T19:03:14.4212807-07:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2025-04-03T19:03:14.4212807-07:00</d2p1:DateUpdated>
    <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
    <d2p1:UserIDCreated>14</d2p1:UserIDCreated>
    <d2p1:UserIDUpdated>15</d2p1:UserIDUpdated>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:CPTCode>sample string 5</d2p1:CPTCode>
    <d2p1:Code>sample string 8</d2p1:Code>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IsAuthorizationRequired>true</d2p1:IsAuthorizationRequired>
    <d2p1:IsFavourite>true</d2p1:IsFavourite>
    <d2p1:ListOrderProcedureTemplate>
      <d2p1:OrderProcedureTemplateDTO>
        <d2p1:CompanyCode>sample string 11</d2p1:CompanyCode>
        <d2p1:DateCreated>2025-04-03T19:03:14.4212807-07:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2025-04-03T19:03:14.4212807-07:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>9</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>10</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 4</d2p1:Name>
        <d2p1:OrderProcedureTypeId>2</d2p1:OrderProcedureTypeId>
        <d2p1:Sequence>3</d2p1:Sequence>
        <d2p1:Template>sample string 5</d2p1:Template>
      </d2p1:OrderProcedureTemplateDTO>
      <d2p1:OrderProcedureTemplateDTO>
        <d2p1:CompanyCode>sample string 11</d2p1:CompanyCode>
        <d2p1:DateCreated>2025-04-03T19:03:14.4212807-07:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2025-04-03T19:03:14.4212807-07:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>9</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>10</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 4</d2p1:Name>
        <d2p1:OrderProcedureTypeId>2</d2p1:OrderProcedureTypeId>
        <d2p1:Sequence>3</d2p1:Sequence>
        <d2p1:Template>sample string 5</d2p1:Template>
      </d2p1:OrderProcedureTemplateDTO>
    </d2p1:ListOrderProcedureTemplate>
    <d2p1:ListProcedureSubType>
      <d2p1:OrderProcedureSubTypeDTO>
        <d2p1:CompanyCode>sample string 14</d2p1:CompanyCode>
        <d2p1:DateCreated>2025-04-03T19:03:14.4212807-07:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2025-04-03T19:03:14.4212807-07:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>12</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>13</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:CPTCode>sample string 5</d2p1:CPTCode>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:IsFavourite>true</d2p1:IsFavourite>
        <d2p1:Name>sample string 4</d2p1:Name>
        <d2p1:OrderProcedureTypeId>3</d2p1:OrderProcedureTypeId>
        <d2p1:Selected>true</d2p1:Selected>
        <d2p1:Sequence>2</d2p1:Sequence>
        <d2p1:TangAndCompanyCode>sample string 6</d2p1:TangAndCompanyCode>
      </d2p1:OrderProcedureSubTypeDTO>
      <d2p1:OrderProcedureSubTypeDTO>
        <d2p1:CompanyCode>sample string 14</d2p1:CompanyCode>
        <d2p1:DateCreated>2025-04-03T19:03:14.4212807-07:00</d2p1:DateCreated>
        <d2p1:DateUpdated>2025-04-03T19:03:14.4212807-07:00</d2p1:DateUpdated>
        <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
        <d2p1:UserIDCreated>12</d2p1:UserIDCreated>
        <d2p1:UserIDUpdated>13</d2p1:UserIDUpdated>
        <d2p1:ValidFlag>true</d2p1:ValidFlag>
        <d2p1:CPTCode>sample string 5</d2p1:CPTCode>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:IsFavourite>true</d2p1:IsFavourite>
        <d2p1:Name>sample string 4</d2p1:Name>
        <d2p1:OrderProcedureTypeId>3</d2p1:OrderProcedureTypeId>
        <d2p1:Selected>true</d2p1:Selected>
        <d2p1:Sequence>2</d2p1:Sequence>
        <d2p1:TangAndCompanyCode>sample string 6</d2p1:TangAndCompanyCode>
      </d2p1:OrderProcedureSubTypeDTO>
    </d2p1:ListProcedureSubType>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:Protocols>sample string 7</d2p1:Protocols>
    <d2p1:Sequence>2</d2p1:Sequence>
    <d2p1:SubTypeName>sample string 4</d2p1:SubTypeName>
    <d2p1:TangAndCompanyCode>sample string 6</d2p1:TangAndCompanyCode>
    <d2p1:Todaydate>2025-04-03T19:03:14.4212807-07:00</d2p1:Todaydate>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfOrderProcedureTypeDTO3NYuOdgi>