GET api/v1/secondarymarket/{id}
Get the secondary market item summary
Requires authorization!
Response Codes
200
– Successfully fetched the SecondaryMarket item400
– No id specified401
– User is not Authorized404
– SecondaryMarket item with specified ID is not found
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
SecondaryMarket item identificator |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Get the secondary market item summary
SecondaryMarket item if it was found, null otherwise
Name | Description | Type | Additional information |
---|---|---|---|
Payload |
The payload of the response. Type depends on the API request. |
SecondMarketItemSummary |
None. |
Success |
Indicates if the request was successfull or not.
|
boolean |
Required |
Errors |
Error(s) accociated with the API request. |
Collection of ApiError |
None. |
Response Formats
application/json, text/json
Sample:
{ "Payload": { "Id": "e298679d-5b43-4599-bdc9-3e884b0bea34", "Number": 2, "StartDate": "2024-12-17T02:25:25.8376453+02:00", "PlannedCloseDate": "2024-12-17T02:25:25.8376453+02:00", "ActualCloseDate": "2024-12-17T02:25:25.8376453+02:00", "UserCancelledOn": "2024-12-17T02:25:25.8376453+02:00", "LoanPart_id": "91927f60-1d1c-4f9d-8925-617ae217ef7b", "DesiredDiscountRate": 800.0, "StatusCode": 0 }, "Success": true, "Errors": [ { "Code": 1, "Message": "sample string-2", "Details": "sample string-3" }, { "Code": 1, "Message": "sample string-2", "Details": "sample string-3" } ] }
application/xml, text/xml
Sample:
<ApiResultSecondMarketItemSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sobralaen.Api.Models"> <Errors> <ApiError> <Code>1</Code> <Details>sample string-3</Details> <Message>sample string-2</Message> </ApiError> <ApiError> <Code>1</Code> <Details>sample string-3</Details> <Message>sample string-2</Message> </ApiError> </Errors> <Success>true</Success> <Payload> <ActualCloseDate>2024-12-17T02:25:25.8376453+02:00</ActualCloseDate> <DesiredDiscountRateDecimalFraction>8</DesiredDiscountRateDecimalFraction> <Id>e298679d-5b43-4599-bdc9-3e884b0bea34</Id> <LoanPart_id>91927f60-1d1c-4f9d-8925-617ae217ef7b</LoanPart_id> <Number>2</Number> <PlannedCloseDate>2024-12-17T02:25:25.8376453+02:00</PlannedCloseDate> <StartDate>2024-12-17T02:25:25.8376453+02:00</StartDate> <StatusCode>Created</StatusCode> <UserCancelledOn>2024-12-17T02:25:25.8376453+02:00</UserCancelledOn> </Payload> </ApiResultSecondMarketItemSummary>