GET api/User/CreateNewPassportCredential?passportId={passportId}&username={username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
passportId

integer

Required

username

string

Required

Body Parameters

None.

Response Information

Resource Description

CreateNewPassportCredentialResponse
NameDescriptionTypeAdditional information
ResponseObject

boolean

None.

Code

ResponseCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseObject": true,
  "Code": 0,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<CreateNewPassportCredentialResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotGolf.CasualGolf.WebApi.Contracts">
  <Code>None</Code>
  <Message>sample string 2</Message>
  <ResponseObject>true</ResponseObject>
</CreateNewPassportCredentialResponse>