POST api/PgPayorAssoc

Request Information

URI Parameters

None.

Body Parameters

PgPayorAssocEditViewModel
NameDescriptionTypeAdditional information
isAdd

boolean

Required

addActionType

AddActionType

Required

editDetail

boolean

Required

payorGroupPayorAssocId

globally unique identifier

Required

payorId

globally unique identifier

Required

payorGroupId

globally unique identifier

Required

code

string

Max length: 20

payorName

string

Max length: 100

startDate

date

Required

stopDate

date

Required

Request Formats

application/json, text/json

Sample:
{
  "isAdd": true,
  "addActionType": 0,
  "editDetail": true,
  "payorGroupPayorAssocId": "e5945ddb-7837-4da3-9e48-3a307c3c300d",
  "payorId": "f152442a-5fb2-431d-b1b5-1d1b6d5525a7",
  "payorGroupId": "f650428e-e2ec-4b00-9d4f-48192f4a8a50",
  "code": "sample string 6",
  "payorName": "sample string 7",
  "startDate": "2021-03-02T01:55:44.7401571-08:00",
  "stopDate": "2021-03-02T01:55:44.7401571-08:00"
}

application/xml, text/xml

Sample:
<PgPayorAssocEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.Api.Models">
  <addActionType>Select</addActionType>
  <code>sample string 6</code>
  <editDetail>true</editDetail>
  <isAdd>true</isAdd>
  <payorGroupId>f650428e-e2ec-4b00-9d4f-48192f4a8a50</payorGroupId>
  <payorGroupPayorAssocId>e5945ddb-7837-4da3-9e48-3a307c3c300d</payorGroupPayorAssocId>
  <payorId>f152442a-5fb2-431d-b1b5-1d1b6d5525a7</payorId>
  <payorName>sample string 7</payorName>
  <startDate>2021-03-02T01:55:44.7401571-08:00</startDate>
  <stopDate>2021-03-02T01:55:44.7401571-08:00</stopDate>
</PgPayorAssocEditViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PgPayorAssocEditViewModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.