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

Supply Contact DFF REST API

Accepted answer
29
Views
4
Comments
edited Jul 28, 2020 2:07AM in Supplier Management 4 comments

Summary

Create/Update DFF through REST

Content

Hi, I'm trying to create/update Supply Contact DFF through REST API.

So far, I can create or update a simple Supply Contact with following payload with POST/PATCH.

{"FirstName": "Name",
"LastName": "Surname",
"AdministrativeContactFlag": false,
"MobileCountryCode": "1",
"MobileAreaCode": "11",
"MobileNumber": "1234-4321"}

I tried adding DFF array

"DFF": [{
            "registroGeralRg": 1234,
            "numeroDoCpf": 12341234,
            "necessitaDeDoumentos": null,
            "necessitaPep": "Não"
        }]

But the answer is 400 bad request, 'The action "update" is not enabled.'.

Please advise if I'm sending the correct payload and method.

Thanks!

Erick Nakamura

Version

20B

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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