POST api/NTSetting/PostSupply
Request Information
URI Parameters
None.
Body Parameters
SupplyDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
String length: inclusive between 0 and 50 |
|
Sequence | integer |
None. |
|
SupplyCategoryId | integer |
None. |
|
Description | string |
String length: inclusive between 0 and 4000 |
|
Protocols | string |
String length: inclusive between 0 and 8000 |
|
SupplyCategoryName | string |
String length: inclusive between 0 and 100 |
|
Todaydate | date |
None. |
|
lstSupplyType | Collection of SupplyTypeDTO |
None. |
|
CPTCode | string |
String length: inclusive between 0 and 20 |
|
TangAndCompanyCode | string |
String length: inclusive between 0 and 10 |
|
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, "Name": "sample string 2", "Sequence": 3, "SupplyCategoryId": 1, "Description": "sample string 4", "Protocols": "sample string 5", "SupplyCategoryName": "sample string 6", "Todaydate": "2024-11-21T00:29:39.7722229-08:00", "lstSupplyType": [ { "Id": 1, "Name": "sample string 2", "SupplyId": 3, "Sequence": 4, "CPTCode": "sample string 5", "TangAndCompanyCode": "sample string 6", "ValidFlag": true, "DateCreated": "2024-11-21T00:29:39.7722229-08:00", "DateUpdated": "2024-11-21T00:29:39.7722229-08:00", "UserIDCreated": 10, "UserIDUpdated": 11, "CompanyCode": "sample string 12", "IsExcludeDiscount": true }, { "Id": 1, "Name": "sample string 2", "SupplyId": 3, "Sequence": 4, "CPTCode": "sample string 5", "TangAndCompanyCode": "sample string 6", "ValidFlag": true, "DateCreated": "2024-11-21T00:29:39.7722229-08:00", "DateUpdated": "2024-11-21T00:29:39.7722229-08:00", "UserIDCreated": 10, "UserIDUpdated": 11, "CompanyCode": "sample string 12", "IsExcludeDiscount": true } ], "CPTCode": "sample string 7", "TangAndCompanyCode": "sample string 8", "IsFavourite": true, "ValidFlag": true, "DateCreated": "2024-11-21T00:29:39.7722229-08:00", "DateUpdated": "2024-11-21T00:29:39.7722229-08:00", "UserIDCreated": 13, "UserIDUpdated": 14, "CompanyCode": "sample string 15", "IsExcludeDiscount": true }
application/xml, text/xml
Sample:
<SupplyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <CompanyCode>sample string 15</CompanyCode> <DateCreated>2024-11-21T00:29:39.7722229-08:00</DateCreated> <DateUpdated>2024-11-21T00:29:39.7722229-08:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>13</UserIDCreated> <UserIDUpdated>14</UserIDUpdated> <ValidFlag>true</ValidFlag> <CPTCode>sample string 7</CPTCode> <Description>sample string 4</Description> <Id>1</Id> <IsFavourite>true</IsFavourite> <Name>sample string 2</Name> <Protocols>sample string 5</Protocols> <Sequence>3</Sequence> <SupplyCategoryId>1</SupplyCategoryId> <SupplyCategoryName>sample string 6</SupplyCategoryName> <TangAndCompanyCode>sample string 8</TangAndCompanyCode> <Todaydate>2024-11-21T00:29:39.7722229-08:00</Todaydate> <lstSupplyType> <SupplyTypeDTO> <CompanyCode>sample string 12</CompanyCode> <DateCreated>2024-11-21T00:29:39.7722229-08:00</DateCreated> <DateUpdated>2024-11-21T00:29:39.7722229-08:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>10</UserIDCreated> <UserIDUpdated>11</UserIDUpdated> <ValidFlag>true</ValidFlag> <CPTCode>sample string 5</CPTCode> <Id>1</Id> <Name>sample string 2</Name> <Sequence>4</Sequence> <SupplyId>3</SupplyId> <TangAndCompanyCode>sample string 6</TangAndCompanyCode> </SupplyTypeDTO> <SupplyTypeDTO> <CompanyCode>sample string 12</CompanyCode> <DateCreated>2024-11-21T00:29:39.7722229-08:00</DateCreated> <DateUpdated>2024-11-21T00:29:39.7722229-08:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>10</UserIDCreated> <UserIDUpdated>11</UserIDUpdated> <ValidFlag>true</ValidFlag> <CPTCode>sample string 5</CPTCode> <Id>1</Id> <Name>sample string 2</Name> <Sequence>4</Sequence> <SupplyId>3</SupplyId> <TangAndCompanyCode>sample string 6</TangAndCompanyCode> </SupplyTypeDTO> </lstSupplyType> </SupplyDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfSupplyDTOName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
jsonObj | SupplyDTO |
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, "SupplyCategoryId": 1, "Description": "sample string 4", "Protocols": "sample string 5", "SupplyCategoryName": "sample string 6", "Todaydate": "2024-11-21T00:29:39.7998789-08:00", "lstSupplyType": [ { "Id": 1, "Name": "sample string 2", "SupplyId": 3, "Sequence": 4, "CPTCode": "sample string 5", "TangAndCompanyCode": "sample string 6", "ValidFlag": true, "DateCreated": "2024-11-21T00:29:39.7998789-08:00", "DateUpdated": "2024-11-21T00:29:39.7998789-08:00", "UserIDCreated": 10, "UserIDUpdated": 11, "CompanyCode": "sample string 12", "IsExcludeDiscount": true }, { "Id": 1, "Name": "sample string 2", "SupplyId": 3, "Sequence": 4, "CPTCode": "sample string 5", "TangAndCompanyCode": "sample string 6", "ValidFlag": true, "DateCreated": "2024-11-21T00:29:39.7998789-08:00", "DateUpdated": "2024-11-21T00:29:39.7998789-08:00", "UserIDCreated": 10, "UserIDUpdated": 11, "CompanyCode": "sample string 12", "IsExcludeDiscount": true } ], "CPTCode": "sample string 7", "TangAndCompanyCode": "sample string 8", "IsFavourite": true, "ValidFlag": true, "DateCreated": "2024-11-21T00:29:39.7998789-08:00", "DateUpdated": "2024-11-21T00:29:39.7998789-08:00", "UserIDCreated": 13, "UserIDUpdated": 14, "CompanyCode": "sample string 15", "IsExcludeDiscount": true }, "totalCount": 3 }
application/xml, text/xml
Sample:
<AsapResponseOfSupplyDTO3NYuOdgi 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 15</d2p1:CompanyCode> <d2p1:DateCreated>2024-11-21T00:29:39.7998789-08:00</d2p1:DateCreated> <d2p1:DateUpdated>2024-11-21T00:29:39.7998789-08:00</d2p1:DateUpdated> <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount> <d2p1:UserIDCreated>13</d2p1:UserIDCreated> <d2p1:UserIDUpdated>14</d2p1:UserIDUpdated> <d2p1:ValidFlag>true</d2p1:ValidFlag> <d2p1:CPTCode>sample string 7</d2p1:CPTCode> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Id>1</d2p1:Id> <d2p1:IsFavourite>true</d2p1:IsFavourite> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Protocols>sample string 5</d2p1:Protocols> <d2p1:Sequence>3</d2p1:Sequence> <d2p1:SupplyCategoryId>1</d2p1:SupplyCategoryId> <d2p1:SupplyCategoryName>sample string 6</d2p1:SupplyCategoryName> <d2p1:TangAndCompanyCode>sample string 8</d2p1:TangAndCompanyCode> <d2p1:Todaydate>2024-11-21T00:29:39.7998789-08:00</d2p1:Todaydate> <d2p1:lstSupplyType> <d2p1:SupplyTypeDTO> <d2p1:CompanyCode>sample string 12</d2p1:CompanyCode> <d2p1:DateCreated>2024-11-21T00:29:39.7998789-08:00</d2p1:DateCreated> <d2p1:DateUpdated>2024-11-21T00:29:39.7998789-08:00</d2p1:DateUpdated> <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount> <d2p1:UserIDCreated>10</d2p1:UserIDCreated> <d2p1:UserIDUpdated>11</d2p1:UserIDUpdated> <d2p1:ValidFlag>true</d2p1:ValidFlag> <d2p1:CPTCode>sample string 5</d2p1:CPTCode> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Sequence>4</d2p1:Sequence> <d2p1:SupplyId>3</d2p1:SupplyId> <d2p1:TangAndCompanyCode>sample string 6</d2p1:TangAndCompanyCode> </d2p1:SupplyTypeDTO> <d2p1:SupplyTypeDTO> <d2p1:CompanyCode>sample string 12</d2p1:CompanyCode> <d2p1:DateCreated>2024-11-21T00:29:39.7998789-08:00</d2p1:DateCreated> <d2p1:DateUpdated>2024-11-21T00:29:39.7998789-08:00</d2p1:DateUpdated> <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount> <d2p1:UserIDCreated>10</d2p1:UserIDCreated> <d2p1:UserIDUpdated>11</d2p1:UserIDUpdated> <d2p1:ValidFlag>true</d2p1:ValidFlag> <d2p1:CPTCode>sample string 5</d2p1:CPTCode> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Sequence>4</d2p1:Sequence> <d2p1:SupplyId>3</d2p1:SupplyId> <d2p1:TangAndCompanyCode>sample string 6</d2p1:TangAndCompanyCode> </d2p1:SupplyTypeDTO> </d2p1:lstSupplyType> </jsonObj> <message>sample string 2</message> <totalCount>3</totalCount> </AsapResponseOfSupplyDTO3NYuOdgi>