GET api/SIMS/GetPricesByClientStkCodeDate?client={client}&stockCode={stockCode}&Date={Date}&companyKey={companyKey}

Gets Contracted Prices details by client, stock code and date

Request Information

URI Parameters

NameDescriptionTypeAdditional information
client

The client code

string

Required

stockCode

The stock code

string

Required

Date

The date which lies in between the contract dates (datefrom and dateto). Format: DD/MM/YYYY

string

Required

companyKey

The company name if the service is connected to multiple SIMS companies (Optional)

string

Default value is

Body Parameters

N/A


Response Information

Resource Description

List of contracted prices

Collection of ClientSp
NameDescriptionTypeAdditional information
TranNum

string

N/A

Client

string

N/A

Cat_Code

string

N/A

Stk_Code

string

N/A

SPrice1

decimal number

N/A

Discount

decimal number

N/A

DateFrom

date

N/A

DateTo

date

N/A

Replic_Id

string

N/A

Response Formats

application/json, text/json

Sample:
[
  {
    "TranNum": "sample string 1",
    "Client": "sample string 2",
    "Cat_Code": "sample string 3",
    "Stk_Code": "sample string 4",
    "SPrice1": 5.0,
    "Discount": 6.0,
    "DateFrom": "2024-10-06T02:21:44.2769784",
    "DateTo": "2024-10-06T02:21:44.2769784",
    "Replic_Id": "sample string 7"
  },
  {
    "TranNum": "sample string 1",
    "Client": "sample string 2",
    "Cat_Code": "sample string 3",
    "Stk_Code": "sample string 4",
    "SPrice1": 5.0,
    "Discount": 6.0,
    "DateFrom": "2024-10-06T02:21:44.2769784",
    "DateTo": "2024-10-06T02:21:44.2769784",
    "Replic_Id": "sample string 7"
  }
]