POST Horse/Add
HORSE tablosuna kayıt ekler.
Request Information
URI Parameters
None.
Body Parameters
Zorunlu Alanlar:HORSE_NAME,FATHER_OBJECT.HORSE_ID,MOTHER_OBJECT.HORSE_ID,SEX_OBJECT.SEX_ID,COUNTRY_OBJECT.COUNTRY_ID,EARN_CURRENCY_OBJECT.CURRENCY_ID,PRICE_CURRENCY_OBJECT.CURRENCY_ID,OWNER_OBJECT.SYSTEM_USER_ID,BREEDER_OBJECT.SYSTEM_USER_ID,this.COACH_OBJECT.SYSTEM_USER_ID,WINNER_TYPE_OBJECT.WINNER_TYPE_ID,IS_DEAD_OBJECT.BOOL_ID
HORSEName | Description | Type | Additional information |
---|---|---|---|
HORSE_ID | integer |
None. |
|
RACE_ID | integer |
None. |
|
HORSE_NAME | string |
None. |
|
OLD_HORSE_NAME | string |
None. |
|
FATHER_OBJECT | HORSE |
None. |
|
RF_ID | integer |
None. |
|
MOTHER_OBJECT | HORSE |
None. |
|
RM_ID | integer |
None. |
|
HORSE_BIRTH_DATE | date |
None. |
|
SEX_OBJECT | SEX |
None. |
|
COUNTRY_OBJECT | COUNTRY |
None. |
|
REF1 | integer |
None. |
|
REF2 | integer |
None. |
|
EARN | decimal number |
None. |
|
EARN_CURRENCY_OBJECT | CURRENCY |
None. |
|
PRICE | decimal number |
None. |
|
PRICE_CURRENCY_OBJECT | CURRENCY |
None. |
|
OWNER_OBJECT | SYSTEM_USER |
None. |
|
OWNER | string |
None. |
|
BREEDER_OBJECT | SYSTEM_USER |
None. |
|
BREEDER | string |
None. |
|
COACH_OBJECT | SYSTEM_USER |
None. |
|
COACH | string |
None. |
|
ADDER_OBJECT | SYSTEM_USER |
None. |
|
ADD_DATE | date |
None. |
|
EDIT_DATE | date |
None. |
|
EDITOR_OBJECT | SYSTEM_USER |
None. |
|
APPROVED_OBJECT | BOOL_OBJECT |
None. |
|
ACTIVE_OBJECT | BOOL_OBJECT |
None. |
|
WINNER_TYPE_OBJECT | WINNER_TYPE |
None. |
|
HEADER | string |
None. |
|
OLD_HEADER | string |
None. |
|
INFO | string |
None. |
|
START_COUNT | integer |
None. |
|
FIRST | integer |
None. |
|
SECOND | integer |
None. |
|
THIRD | integer |
None. |
|
FOURTH | integer |
None. |
|
IS_DEAD_OBJECT | BOOL_OBJECT |
None. |
|
IMAGE | string |
None. |
|
IMAGE_LIST | Collection of string |
None. |
|
B | integer |
None. |
|
I | integer |
None. |
|
C | integer |
None. |
|
S | integer |
None. |
|
P | integer |
None. |
|
RM_B | integer |
None. |
|
RM_I | integer |
None. |
|
RM_C | integer |
None. |
|
RM_S | integer |
None. |
|
RM_P | integer |
None. |
|
ANZ_B | integer |
None. |
|
ANZ_I | integer |
None. |
|
ANZ_C | integer |
None. |
|
ANZ_S | integer |
None. |
|
ANZ_P | integer |
None. |
|
COUNTER | integer |
None. |
|
FAMILY_OBJECT | FAMILY |
None. |
|
COLOR_OBJECT | COLOR |
None. |
|
CONFIRMED | boolean |
None. |
Request Formats
application/json
Sample not available.
text/json
Sample not available.
text/html
Sample not available.
application/xml
Sample not available.
text/xml
Sample not available.
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ProcessResultName | 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
{ "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
{"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
<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>