Bom dia senhores,
Estou fazendo uma integração entre o PI e o legado NIMBI ( NIMBI API - Documentation) . É uma interface outbound e sync.
Na especificação do funcional consta:
Methods:
PUT -> /v1/{PurchaseOrder}/Accepted
PUT -> /v1/{PurchaseOrder}/Returned
Parameters:
PurchaseOrderId
Comment:
General Message
RejectionReasonCode:
Header Exceptions messages
Minha dúvida é: eu posso chamar mais de um método numa mesma interface? Posso colocar os campos opcionais e conforme o preenchimento do sap, o legado vai entender se é o método ACCEPTED ou RETURNED?
Desde já, agradeço muito a atenção de todos!
--------------------------------------
Good day gentlemen,
I'm doing an integration between IP and legacy NIMBI ( NIMBI API - Documentation). It is an outbound and sync interface.
In the functional specification shall:
Methods:
PUT -> /v1/{PurchaseOrder}/Accepted
PUT -> /v1/{PurchaseOrder}/Returned
Parameters:
PurchaseOrderId
Comment:
General Message
RejectionReasonCode:
Header Exceptions messages
My question is: I can call more than one method in the same interface? Can I put the optional fields and as filling the sap, the legacy will understand if the ACCEPTED or RETURNED method?
Already, many thanks everyone's attention!