POST StableHorse/Add
Request Information
URI Parameters
None.
Body Parameters
STABLE_HORSE| Name | Description | Type | Additional information |
|---|---|---|---|
| STABLE_HORSE_ID | integer |
None. |
|
| STABLE_ID | integer |
None. |
|
| STABLE_HORSE_CATEGORY_ID | integer |
None. |
|
| HORSE_ID | integer |
None. |
|
| BIO_TR | string |
None. |
|
| BIO_EN | string |
None. |
|
| NAME | string |
None. |
|
| MOTHER_NAME | string |
None. |
|
| RECORD | string |
None. |
|
| EARN | string |
None. |
|
| IMAGE | string |
None. |
|
| REF1 | integer |
None. |
|
| REF2 | integer |
None. |
|
| RACE_ID | integer |
None. |
|
| PARENT_PAGE_ID | integer |
None. |
|
| LINK | string |
None. |
|
| WEB_SITE | string |
None. |
|
| COUNTRY | COUNTRY |
None. |
Request Formats
application/json, text/json
Sample:
{
"STABLE_HORSE_ID": 1,
"STABLE_ID": 2,
"STABLE_HORSE_CATEGORY_ID": 3,
"HORSE_ID": 4,
"BIO_TR": "sample string 5",
"BIO_EN": "sample string 6",
"NAME": "sample string 7",
"MOTHER_NAME": "sample string 8",
"RECORD": "sample string 9",
"EARN": "sample string 10",
"IMAGE": "sample string 11",
"REF1": 12,
"REF2": 13,
"RACE_ID": 14,
"PARENT_PAGE_ID": 15,
"LINK": "sample string 16",
"WEB_SITE": "sample string 17",
"COUNTRY": {
"COUNTRY_ID": 1,
"COUNTRY_EN": "sample string 2",
"COUNTRY_TR": "sample string 3",
"ABBREVIATION": "sample string 4",
"ICON": "sample string 5",
"CODE": 6,
"STALLION_LIST": [
{
"ID": 1,
"NAME": "sample string 2"
},
{
"ID": 1,
"NAME": "sample string 2"
}
]
}
}
text/html
Sample:
{"STABLE_HORSE_ID":1,"STABLE_ID":2,"STABLE_HORSE_CATEGORY_ID":3,"HORSE_ID":4,"BIO_TR":"sample string 5","BIO_EN":"sample string 6","NAME":"sample string 7","MOTHER_NAME":"sample string 8","RECORD":"sample string 9","EARN":"sample string 10","IMAGE":"sample string 11","REF1":12,"REF2":13,"RACE_ID":14,"PARENT_PAGE_ID":15,"LINK":"sample string 16","WEB_SITE":"sample string 17","COUNTRY":{"COUNTRY_ID":1,"COUNTRY_EN":"sample string 2","COUNTRY_TR":"sample string 3","ABBREVIATION":"sample string 4","ICON":"sample string 5","CODE":6,"STALLION_LIST":[{"ID":1,"NAME":"sample string 2"},{"ID":1,"NAME":"sample string 2"}]}}
application/xml, text/xml
Sample:
<STABLE_HORSE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bnfBLL.STABLE">
<BIO_EN>sample string 6</BIO_EN>
<BIO_TR>sample string 5</BIO_TR>
<COUNTRY xmlns:d2p1="http://schemas.datacontract.org/2004/07/bnfBLL.SYSTEM">
<d2p1:ABBREVIATION>sample string 4</d2p1:ABBREVIATION>
<d2p1:CODE>6</d2p1:CODE>
<d2p1:COUNTRY_EN>sample string 2</d2p1:COUNTRY_EN>
<d2p1:COUNTRY_ID>1</d2p1:COUNTRY_ID>
<d2p1:COUNTRY_TR>sample string 3</d2p1:COUNTRY_TR>
<d2p1:ICON>sample string 5</d2p1:ICON>
<d2p1:STALLION_LIST xmlns:d3p1="http://schemas.datacontract.org/2004/07/bnfBLL.TOOLS">
<d3p1:NAMEID>
<d3p1:ID>1</d3p1:ID>
<d3p1:NAME>sample string 2</d3p1:NAME>
</d3p1:NAMEID>
<d3p1:NAMEID>
<d3p1:ID>1</d3p1:ID>
<d3p1:NAME>sample string 2</d3p1:NAME>
</d3p1:NAMEID>
</d2p1:STALLION_LIST>
</COUNTRY>
<EARN>sample string 10</EARN>
<HORSE_ID>4</HORSE_ID>
<IMAGE>sample string 11</IMAGE>
<LINK>sample string 16</LINK>
<MOTHER_NAME>sample string 8</MOTHER_NAME>
<NAME>sample string 7</NAME>
<PARENT_PAGE_ID>15</PARENT_PAGE_ID>
<RACE_ID>14</RACE_ID>
<RECORD>sample string 9</RECORD>
<REF1>12</REF1>
<REF2>13</REF2>
<STABLE_HORSE_CATEGORY_ID>3</STABLE_HORSE_CATEGORY_ID>
<STABLE_HORSE_ID>1</STABLE_HORSE_ID>
<STABLE_ID>2</STABLE_ID>
<WEB_SITE>sample string 17</WEB_SITE>
</STABLE_HORSE>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ProcessResult| Name | Description | Type | Additional information |
|---|---|---|---|
| m_sClass | string |
None. |
|
| m_sMethod | string |
None. |
|
| m_iLastId | integer |
None. |
|
| m_cDataTable | DataTable |
None. |
|
| m_lUserMessageList | Collection of string |
None. |
|
| m_PageList | Collection of integer |
None. |
|
| m_sErrorMessage | string |
None. |
|
| m_cException | Exception |
None. |
|
| m_eProcessState | ProcessState |
None. |
Response Formats
application/json, text/json
Sample:
{
"m_eProcessState": 0,
"m_sClass": "sample string 1",
"m_sMethod": "sample string 2",
"m_iLastId": 3,
"m_cDataTable": null,
"m_lUserMessageList": [
"sample string 1",
"sample string 2"
],
"m_PageList": [
1,
2
],
"m_sErrorMessage": "sample string 4",
"m_cException": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
}
text/html
Sample:
{"m_eProcessState":0,"m_sClass":"sample string 1","m_sMethod":"sample string 2","m_iLastId":3,"m_cDataTable":null,"m_lUserMessageList":["sample string 1","sample string 2"],"m_PageList":[1,2],"m_sErrorMessage":"sample string 4","m_cException":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null}}
application/xml, text/xml
Sample:
<ProcessResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bnfOBJ">
<m_PageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</m_PageList>
<m_cDataTable i:nil="true" />
<m_cException xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
<Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</m_cException>
<m_eProcessState>SystemException</m_eProcessState>
<m_iLastId>3</m_iLastId>
<m_lUserMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</m_lUserMessageList>
<m_sClass>sample string 1</m_sClass>
<m_sErrorMessage>sample string 4</m_sErrorMessage>
<m_sMethod>sample string 2</m_sMethod>
</ProcessResult>