Open litlfred opened 10 years ago
You have some flexibility in how to store the contact ids. The issue give the example: <csd:otherID assigningAuthorityName="2.25.1098910207106778371035457739371181056504702027035" code="1">22-02-103-0012</csd:otherID> You could also do something like: <csd:otherID assigningAuthorityName="https://rapidpro.io//org/choose/?organization=70" code=“contact_id'>urn:uuid:d7a95800-4af5-11e4-8cf7-0002a5d5c51b&t;/csd:otherID> to indicate that this contact was made for a particular workflow. The text content of the <csd:otherID/> element should be the value of the identifier. You don’t need the urn:uuid above — just use whatever is easier to link back to RapidPRO.
A complete request would be:
`
<?xml version="1.0" encoding="utf-8"?>
You submit the above document as a post to:
<BASE_URI>/CSD/csr/<NAME>/careServicesRequest/update
where
When a new contact is created in rapidpro, the ID of the created contact should be stored back in the interlinked-registry.
Two things are needed for this:
Submission looks like this:
the @assigningAuthorityName and @code attributes to use.