@Eddie Barker we're building a new integration with FE NXT and testing the various endpoints via Postman and the Cohort Sandbox. All endpoints work well, except GET https://api.sky.blackbaud.com/generalledger/v1/accounts/segments/{segment_id} returns "Error": "Account segment id not found" despite using a valid segment id. Interestingly, API docs specify it as: "error": "The specified record could not be found. The record has either been deleted or you do not have rights to view it."Any insights or assistance would be super appreciated!
TIA.
@KleerCard Developerhow did you determine your segment id is correct? did you use this to get your account structure first?
https://developer.sky.blackbaud.com/api#api=56eb17a0a9db9516c46bff6f&operation=ListAccountStructures
@Alex WongYes exactly. Using segment_id of 1 from the following accounts/structure payload. { "length": 2, "segment_id": 1, "separator": "Hyphen", "sequence": 1, "type": "Fund" }and then doing a GET on the below results in 404 "Account segment id not found"
@KleerCard Developeryou are not using the right API endpoint.
For “type fund”, use “Account fund (List)”
For “type account code”, use “Account code (List)”
For “type anythingelse”, use “Account segment value”
@Alex Wong awesome! that was it. thank you!!