GET api/Inmate/GetSentances?pid={pid}&jid={jid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pid | string |
Required |
|
jid | string |
Required |
Body Parameters
None.
Response Information
Resource Description
InmateSentencesBEName | Description | Type | Additional information |
---|---|---|---|
OffenderBE | OffenderBE |
None. |
|
OrdersBEList | Collection of OrdersBE |
None. |
|
SentenceBEList | Collection of SentenceBE |
None. |
Response Formats
application/json, text/json
Sample:
{ "OffenderBE": { "Name": "sample string 1", "PID": "sample string 2", "JID": "sample string 3", "ArrestNumber": "sample string 4", "Alias": "sample string 5", "OBID": "sample string 6" }, "OrdersBEList": [ { "Reference": "sample string 1", "OBID": "sample string 2", "CaseNumber": "sample string 3" }, { "Reference": "sample string 1", "OBID": "sample string 2", "CaseNumber": "sample string 3" } ], "SentenceBEList": [ { "Reference": "sample string 1", "StartDate": "2024-04-23T19:09:40.7206066-04:00", "EndDate": "2024-04-23T19:09:40.7206066-04:00", "EndDate2": "2024-04-23T19:09:40.7206066-04:00", "MinYears": "sample string 5", "MinMonths": "sample string 6", "MinDays": "sample string 7", "MaxYears": "sample string 8", "MaxMonths": "sample string 9", "MaxDays": "sample string 10", "TP": "sample string 11", "MET": "sample string 12", "CT": "sample string 13", "LPA": "sample string 14" }, { "Reference": "sample string 1", "StartDate": "2024-04-23T19:09:40.7206066-04:00", "EndDate": "2024-04-23T19:09:40.7206066-04:00", "EndDate2": "2024-04-23T19:09:40.7206066-04:00", "MinYears": "sample string 5", "MinMonths": "sample string 6", "MinDays": "sample string 7", "MaxYears": "sample string 8", "MaxMonths": "sample string 9", "MaxDays": "sample string 10", "TP": "sample string 11", "MET": "sample string 12", "CT": "sample string 13", "LPA": "sample string 14" } ] }
application/xml, text/xml
Sample:
<InmateSentencesBE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MeckSheriff.BE"> <OffenderBE> <Alias>sample string 5</Alias> <ArrestNumber>sample string 4</ArrestNumber> <JID>sample string 3</JID> <Name>sample string 1</Name> <OBID>sample string 6</OBID> <PID>sample string 2</PID> </OffenderBE> <OrdersBEList> <OrdersBE> <CaseNumber>sample string 3</CaseNumber> <OBID>sample string 2</OBID> <Reference>sample string 1</Reference> </OrdersBE> <OrdersBE> <CaseNumber>sample string 3</CaseNumber> <OBID>sample string 2</OBID> <Reference>sample string 1</Reference> </OrdersBE> </OrdersBEList> <SentenceBEList> <SentenceBE> <CT>sample string 13</CT> <EndDate>2024-04-23T19:09:40.7206066-04:00</EndDate> <EndDate2>2024-04-23T19:09:40.7206066-04:00</EndDate2> <LPA>sample string 14</LPA> <MET>sample string 12</MET> <MaxDays>sample string 10</MaxDays> <MaxMonths>sample string 9</MaxMonths> <MaxYears>sample string 8</MaxYears> <MinDays>sample string 7</MinDays> <MinMonths>sample string 6</MinMonths> <MinYears>sample string 5</MinYears> <Reference>sample string 1</Reference> <StartDate>2024-04-23T19:09:40.7206066-04:00</StartDate> <TP>sample string 11</TP> </SentenceBE> <SentenceBE> <CT>sample string 13</CT> <EndDate>2024-04-23T19:09:40.7206066-04:00</EndDate> <EndDate2>2024-04-23T19:09:40.7206066-04:00</EndDate2> <LPA>sample string 14</LPA> <MET>sample string 12</MET> <MaxDays>sample string 10</MaxDays> <MaxMonths>sample string 9</MaxMonths> <MaxYears>sample string 8</MaxYears> <MinDays>sample string 7</MinDays> <MinMonths>sample string 6</MinMonths> <MinYears>sample string 5</MinYears> <Reference>sample string 1</Reference> <StartDate>2024-04-23T19:09:40.7206066-04:00</StartDate> <TP>sample string 11</TP> </SentenceBE> </SentenceBEList> </InmateSentencesBE>