Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
REST web service to Create an Associated Project fails with an error — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST web service to Create an Associated Project fails with an error

Question
3
Views
0
Comments
edited Jul 5, 2021 2:43AM in Enterprise Contracts

Content

Hi Gurus,

 

I wanted to Create an Associated Project under Contract Lines using the REST web service:

{{ServerName}}/fscmRestApi/resources/11.13.18.05/contracts/300000226740219/child/ContractLine/300000226740238/child/AssociatedProject

 

Body:

{

    "ProjectNumber": "HC1002",
    "FundingAmount": 94444,
    "CurrencyCode": "USD"
}
 

I get the 400 Bad Request:

{
    "title": "Bad Request",
    "status": "400",
    "o:errorDetails": [
        {
            "detail": "Attribute set for BillingTypeCode in entity ContractRestAM.ContractAllLineEO_ContractProjectLink_ContractAllLineVOToAssociatedProjectVO_AssociatedProjectVO failed",
            "o:errorCode": "27004",
            "o:errorPath": "/BillingTypeCode"
        }
    ]
}

 

I can add the above project and amount from the front-end but REST is giving an error message. Have you seen this error message and if so, please let me know how to resolve it.

 

Thank you!

 

Wai

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!