Table of Contents

/Legal/SendProposal

Sends a contract proposal to another XMPP Client (in the federated network) to sign a specific contract under a specific role. The proposal message can also contain a plain text message to the recipient.

Note: This function calls the AgentAPI.Xmpp.SendXmlMessage(To,Xml,Subject,Language,Id) function, which calls the corresponding Agent API web service.

Javascript Library

Use the following asynchronous method in the Javascript Library, to call this resource.

var Response = await AgentAPI.Legal.SendProposal(ContractId,Role,To,Message);
Test





Request Payload:

   

Response Payload: