POST api/registro

Request Information

URI Parameters

None.

Body Parameters

Register
NameDescriptionTypeAdditional information
contactid

globally unique identifier

None.

FirstName

string

Required

String length: inclusive between 1 and 55

LastName

string

Required

String length: inclusive between 1 and 55

SecondLastName

string

Required

String length: inclusive between 1 and 55

BirthDate

date

Required

Data type: Date

Email

string

Required

Data type: EmailAddress

Matching regular expression pattern: ^([a-zA-Z0-9_\-\.]+)@((([a-zA-Z0-9\-]+\.)+)([a-zA-Z]{2,4}))$

telephone

string

Required

Matching regular expression pattern: ^(\+?(\d{0,2}))?(\-|\s)?(\(\d{2,3}\)|d{2,3})?(\-|\s)?(\d{3,4})(\-|\s)?(\d{4})$

genderCode

integer

Required

genderCodeName

string

None.

extranjero

boolean

None.

processid

globally unique identifier

None.

Campus

integer

Required

termId

globally unique identifier

None.

acadProgId

globally unique identifier

Required

acadProgIdName

string

None.

institutionId

globally unique identifier

None.

institutionIdName

string

None.

otherInstitution

string

None.

isOtherInstitution

boolean

None.

endDate

date

Data type: Date

gradeAvg

integer

Range: inclusive between 0 and 100

hsArea

integer

None.

isPVIOF

boolean

None.

testInterest

boolean

None.

testDateId

globally unique identifier

None.

testId

globally unique identifier

None.

option1

globally unique identifier

None.

option2

globally unique identifier

None.

option3

globally unique identifier

None.

AccessType

integer

Required

Origin

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "contactid": "3adedf04-b906-4371-a1f4-e9d70f1c5768",
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "SecondLastName": "sample string 3",
  "BirthDate": "2018-08-15T21:40:42.4554099-05:00",
  "Email": "sample string 5",
  "telephone": "sample string 6",
  "genderCode": 7,
  "genderCodeName": "sample string 8",
  "extranjero": true,
  "processid": "bca43897-027c-4ee6-8e36-0f5451c17b41",
  "Campus": 10,
  "termId": "90db87eb-2c5c-4661-8645-26fc93abf385",
  "acadProgId": "fd07e661-2e8b-4438-a0a1-8cf13f8db0bf",
  "acadProgIdName": "sample string 12",
  "institutionId": "a8352db5-f9d1-48db-af2b-e7b08661c0b2",
  "institutionIdName": "sample string 13",
  "otherInstitution": "sample string 14",
  "isOtherInstitution": true,
  "endDate": "2018-08-15T21:40:42.4554099-05:00",
  "gradeAvg": 1,
  "hsArea": 1,
  "isPVIOF": true,
  "testInterest": true,
  "testDateId": "7cac0d03-0ab2-4e38-8f93-8d45448f4fc8",
  "testId": "7857319c-2fa8-45b8-b9da-08892ae5e364",
  "option1": "c0f35142-3758-4455-8cea-6b916f3b81f7",
  "option2": "45070bb9-5dde-4bce-ba18-c60759e9c277",
  "option3": "c1b9ec5a-ebfa-4964-9fbf-9b89c4050172",
  "AccessType": 23,
  "Origin": 24
}

application/xml, text/xml

Sample:
<Register xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrmAppsUP.Models">
  <AccessType>23</AccessType>
  <BirthDate>2018-08-15T21:40:42.4554099-05:00</BirthDate>
  <Campus>10</Campus>
  <Email>sample string 5</Email>
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
  <Origin>24</Origin>
  <SecondLastName>sample string 3</SecondLastName>
  <acadProgId>fd07e661-2e8b-4438-a0a1-8cf13f8db0bf</acadProgId>
  <acadProgIdName>sample string 12</acadProgIdName>
  <contactid>3adedf04-b906-4371-a1f4-e9d70f1c5768</contactid>
  <endDate>2018-08-15T21:40:42.4554099-05:00</endDate>
  <extranjero>true</extranjero>
  <genderCode>7</genderCode>
  <genderCodeName>sample string 8</genderCodeName>
  <gradeAvg>1</gradeAvg>
  <hsArea>1</hsArea>
  <institutionId>a8352db5-f9d1-48db-af2b-e7b08661c0b2</institutionId>
  <institutionIdName>sample string 13</institutionIdName>
  <isOtherInstitution>true</isOtherInstitution>
  <isPVIOF>true</isPVIOF>
  <option1>c0f35142-3758-4455-8cea-6b916f3b81f7</option1>
  <option2>45070bb9-5dde-4bce-ba18-c60759e9c277</option2>
  <option3>c1b9ec5a-ebfa-4964-9fbf-9b89c4050172</option3>
  <otherInstitution>sample string 14</otherInstitution>
  <processid>bca43897-027c-4ee6-8e36-0f5451c17b41</processid>
  <telephone>sample string 6</telephone>
  <termId>90db87eb-2c5c-4661-8645-26fc93abf385</termId>
  <testDateId>7cac0d03-0ab2-4e38-8f93-8d45448f4fc8</testDateId>
  <testInterest>true</testInterest>
</Register>

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 'Register'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>