POST Pregnant/Add
Çiftleştirilen kısrak detaylarını ekler. || Adds the mare details to be mated.
Request Information
URI Parameters
None.
Body Parameters
PREGNANTName | Description | Type | Additional information |
---|---|---|---|
PREGNANT_ID | integer |
None. |
|
STALLION_ADS_ID | integer |
None. |
|
MARE_ID | integer |
None. |
|
MARE_TEXT | string |
None. |
|
PREGNANT_STATUS | PREGNANT_STATUS |
None. |
|
HORSE_ID | integer |
None. |
|
HORSE_TEXT | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PREGNANT_ID": 1, "STALLION_ADS_ID": 2, "MARE_ID": 3, "MARE_TEXT": "sample string 4", "PREGNANT_STATUS": { "PREGNANT_STATUS_ID": 1, "PREGNANT_STATUS_TR": "sample string 2", "PREGNANT_STATUS_EN": "sample string 3" }, "HORSE_ID": 5, "HORSE_TEXT": "sample string 6" }
text/html
Sample:
{"PREGNANT_ID":1,"STALLION_ADS_ID":2,"MARE_ID":3,"MARE_TEXT":"sample string 4","PREGNANT_STATUS":{"PREGNANT_STATUS_ID":1,"PREGNANT_STATUS_TR":"sample string 2","PREGNANT_STATUS_EN":"sample string 3"},"HORSE_ID":5,"HORSE_TEXT":"sample string 6"}
application/xml, text/xml
Sample:
<PREGNANT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bnfBLL.ADS"> <HORSE_ID>5</HORSE_ID> <HORSE_TEXT>sample string 6</HORSE_TEXT> <MARE_ID>3</MARE_ID> <MARE_TEXT>sample string 4</MARE_TEXT> <PREGNANT_ID>1</PREGNANT_ID> <PREGNANT_STATUS xmlns:d2p1="http://schemas.datacontract.org/2004/07/bnfBLL.SYSTEM"> <d2p1:PREGNANT_STATUS_EN>sample string 3</d2p1:PREGNANT_STATUS_EN> <d2p1:PREGNANT_STATUS_ID>1</d2p1:PREGNANT_STATUS_ID> <d2p1:PREGNANT_STATUS_TR>sample string 2</d2p1:PREGNANT_STATUS_TR> </PREGNANT_STATUS> <STALLION_ADS_ID>2</STALLION_ADS_ID> </PREGNANT>
application/x-www-form-urlencoded
Sample:
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
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>