POST api/UserPackage

Request Information

URI Parameters

None.

Body Parameters

UserPackage
NameDescriptionTypeAdditional information
USER_ID

string

None.

COURSE_ID

string

None.

COURSE_NAME

string

None.

DURATION

string

None.

COURSE_FEES

string

None.

PAYMENT_METHOD

string

None.

PAYMENT_TYPE

string

None.

TRANSACTION_ID

string

None.

PAYMENT_STATUS

string

None.

TASK

string

None.

EXTRA1

string

None.

Request Formats

application/json, text/json

Sample:
{
  "USER_ID": "sample string 1",
  "COURSE_ID": "sample string 2",
  "COURSE_NAME": "sample string 3",
  "DURATION": "sample string 4",
  "COURSE_FEES": "sample string 5",
  "PAYMENT_METHOD": "sample string 6",
  "PAYMENT_TYPE": "sample string 7",
  "TRANSACTION_ID": "sample string 8",
  "PAYMENT_STATUS": "sample string 9",
  "TASK": "sample string 10",
  "EXTRA1": "sample string 11"
}

application/xml, text/xml

Sample:
<UserPackage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CraftZone.Models">
  <COURSE_FEES>sample string 5</COURSE_FEES>
  <COURSE_ID>sample string 2</COURSE_ID>
  <COURSE_NAME>sample string 3</COURSE_NAME>
  <DURATION>sample string 4</DURATION>
  <EXTRA1>sample string 11</EXTRA1>
  <PAYMENT_METHOD>sample string 6</PAYMENT_METHOD>
  <PAYMENT_STATUS>sample string 9</PAYMENT_STATUS>
  <PAYMENT_TYPE>sample string 7</PAYMENT_TYPE>
  <TASK>sample string 10</TASK>
  <TRANSACTION_ID>sample string 8</TRANSACTION_ID>
  <USER_ID>sample string 1</USER_ID>
</UserPackage>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.