POST api/CopayPrograms/CreateCopayEnrollment
Request Information
URI Parameters
None.
Body Parameters
CreateCopayRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| channel | string |
None. |
|
| brand | string |
None. |
|
| patient | Patient |
None. |
|
| GroupNumberKey | string |
Required |
|
| CopayCardId | string |
None. |
|
| PhoneNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"channel": "sample string 1",
"brand": "sample string 2",
"patient": {},
"GroupNumberKey": "sample string 3",
"CopayCardId": "sample string 4",
"PhoneNumber": "sample string 5"
}
application/xml, text/xml
Sample:
<CreateCopayRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalWalletService.Models"> <CopayCardId>sample string 4</CopayCardId> <GroupNumberKey>sample string 3</GroupNumberKey> <PhoneNumber>sample string 5</PhoneNumber> <brand>sample string 2</brand> <channel>sample string 1</channel> <patient /> </CreateCopayRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CopayCardResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CopayCardId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CopayCardId": "sample string 1"
}
application/xml, text/xml
Sample:
<CopayCardResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalWalletService.Models.ResponseModel"> <CopayCardId>sample string 1</CopayCardId> </CopayCardResponseModel>