Create PDT
POST {{url}}/{{tenantName}}/{{instanceName}}/pdts/{{core_type_name}}
This endpoint allows you to create a new Profile Data Type (PDT) for a specific core type. A PDT is used to define the structure and format of a specific type of profile data in the system. To create a new PDT, you must provide the necessary data in the request body in the specified format. The coretypename parameter in the endpoint URL specifies the core type that the new PDT will be associated with.
Upon successful creation of a new PDT, the endpoint will return a response containing the details of the new PDT, including its unique identifier, name, and associated core type. This newly created PDT can then be used to define and store profile data for the associated core type.
Note:
- phone: when working with patients and fields such as phone, phone must be specified in the international format, E.164 format, without zero
Request Body
{"text_field"=>"text4", "number_field"=>4, "boolean_field"=>true}