All Verbs | /partnerships |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OnlyActivePartners | query | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Partnerships | form | List<PartnershipDetailDto> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
PharmacyId | form | long | No | |
Pharmacy | form | PartnershipPharmacyDto | No | |
TherapistId | form | long | No | |
Therapist | form | PartnershipTherapistDto | No | |
Message | form | string | No | |
PartnershipStatus | form | PartnershipStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
form | string | No | ||
PhoneNumber | form | string | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
Company | form | string | No | |
Address | form | string | No | |
City | form | string | No | |
PostalCode | form | string | No | |
IsStandardPharmacist | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
form | string | No | ||
PhoneNumber | form | string | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
Company | form | string | No | |
Address | form | string | No | |
City | form | string | No | |
PostalCode | form | string | No |
Name | Value | |
---|---|---|
Requested | 1 | |
Accepted | 2 | |
Terminated | 4 | |
Withdrawn | 8 | |
Declined | 16 | |
Inactive | 28 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /partnerships HTTP/1.1
Host: heidak-api.test.exanic.ch
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
onlyActivePartners: False
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { partnerships: [ { id: 0, pharmacyId: 0, pharmacy: { id: 0, email: String, phoneNumber: String, firstName: String, lastName: String, company: String, address: String, city: String, postalCode: String, isStandardPharmacist: False }, therapistId: 0, therapist: { id: 0, email: String, phoneNumber: String, firstName: String, lastName: String, company: String, address: String, city: String, postalCode: String }, message: String, partnershipStatus: 1 } ] }