swagger.yaml 243 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. ermcp.QryBusinessDjRsp:
  844. properties:
  845. amount:
  846. description: 点价金额=(点价价格+升贴水)*点价数量
  847. type: number
  848. applyid:
  849. description: 申请人
  850. type: string
  851. applyname:
  852. description: 申请人名称
  853. type: string
  854. applystatus:
  855. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  856. type: integer
  857. applytime:
  858. description: 申请时间
  859. type: string
  860. auditname:
  861. description: 审核人名称
  862. type: string
  863. audittime:
  864. description: 审核时间
  865. type: string
  866. buyusername:
  867. description: 采购方名称
  868. type: string
  869. contractno:
  870. description: 合同编号
  871. type: string
  872. contracttype:
  873. description: 现货合同类型 - 1:采购 -1:销售
  874. type: integer
  875. enumdicname:
  876. description: 单位名称
  877. type: string
  878. goodscode:
  879. description: 点价合约
  880. type: string
  881. goodsname:
  882. description: 商品名称
  883. type: string
  884. operateapplyid:
  885. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  886. type: string
  887. operateapplytype:
  888. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  889. type: integer
  890. pricedPrice:
  891. description: 点价价格(非必填)
  892. type: number
  893. pricedQty:
  894. description: 点价数量(非必填)
  895. type: number
  896. pricemove:
  897. description: 升贴水
  898. type: number
  899. pricetype:
  900. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  901. type: integer
  902. relatedid:
  903. description: 现货合同ID
  904. type: string
  905. sellusername:
  906. description: 销售方名字
  907. type: string
  908. userid:
  909. description: 用户ID
  910. type: integer
  911. type: object
  912. ermcp.QryBussinessFpRsp:
  913. properties:
  914. applyid:
  915. description: 申请人
  916. type: string
  917. applyname:
  918. description: 申请人名称
  919. type: string
  920. applystatus:
  921. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  922. type: integer
  923. applytime:
  924. description: 申请时间
  925. type: string
  926. auditname:
  927. description: 审核人名称
  928. type: string
  929. audittime:
  930. description: 审核时间
  931. type: string
  932. buyusername:
  933. description: 采购方名称
  934. type: string
  935. contractno:
  936. description: 合同编号
  937. type: string
  938. contracttype:
  939. description: 现货合同类型 - 1:采购 -1:销售
  940. type: integer
  941. enumdicname:
  942. description: 单位名称
  943. type: string
  944. goodscode:
  945. description: 点价合约
  946. type: string
  947. goodsname:
  948. description: 商品名称
  949. type: string
  950. invoiceAmount:
  951. description: 已开收票金额(销售为开票,采购为收票)
  952. type: number
  953. operateapplyid:
  954. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  955. type: string
  956. operateapplytype:
  957. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  958. type: integer
  959. pricemove:
  960. description: 升贴水
  961. type: number
  962. pricetype:
  963. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  964. type: integer
  965. relatedid:
  966. description: 现货合同ID
  967. type: string
  968. sellusername:
  969. description: 销售方名字
  970. type: string
  971. userid:
  972. description: 用户ID
  973. type: integer
  974. type: object
  975. ermcp.QryBussinessJsRsp:
  976. properties:
  977. addmargin:
  978. description: 追加保证金(非必填)
  979. type: number
  980. applyid:
  981. description: 申请人
  982. type: string
  983. applyname:
  984. description: 申请人名称
  985. type: string
  986. applystatus:
  987. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  988. type: integer
  989. applytime:
  990. description: 申请时间
  991. type: string
  992. auditname:
  993. description: 审核人名称
  994. type: string
  995. audittime:
  996. description: 审核时间
  997. type: string
  998. buyusername:
  999. description: 采购方名称
  1000. type: string
  1001. contractno:
  1002. description: 合同编号
  1003. type: string
  1004. contracttype:
  1005. description: 现货合同类型 - 1:采购 -1:销售
  1006. type: integer
  1007. decmargin:
  1008. description: 减少保证金(非必填)
  1009. type: number
  1010. enumdicname:
  1011. description: 单位名称
  1012. type: string
  1013. goodscode:
  1014. description: 点价合约
  1015. type: string
  1016. goodsname:
  1017. description: 商品名称
  1018. type: string
  1019. operateapplyid:
  1020. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1021. type: string
  1022. operateapplytype:
  1023. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1024. type: integer
  1025. pricemove:
  1026. description: 升贴水
  1027. type: number
  1028. pricetype:
  1029. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1030. type: integer
  1031. reckonadjustamount:
  1032. description: 结算调整金额(非必填)
  1033. type: number
  1034. reckonosamount:
  1035. description: 结算溢短金额(非必填)
  1036. type: number
  1037. reckonotheramount:
  1038. description: 结算其他费用(非必填)
  1039. type: number
  1040. reckonrealqty:
  1041. description: 结算实际数量(非必填)
  1042. type: number
  1043. relatedid:
  1044. description: 现货合同ID
  1045. type: string
  1046. sellusername:
  1047. description: 销售方名字
  1048. type: string
  1049. userid:
  1050. description: 用户ID
  1051. type: integer
  1052. type: object
  1053. ermcp.QryBussinessKxRsp:
  1054. properties:
  1055. applyid:
  1056. description: 申请人
  1057. type: string
  1058. applyname:
  1059. description: 申请人名称
  1060. type: string
  1061. applystatus:
  1062. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1063. type: integer
  1064. applytime:
  1065. description: 申请时间
  1066. type: string
  1067. auditname:
  1068. description: 审核人名称
  1069. type: string
  1070. audittime:
  1071. description: 审核时间
  1072. type: string
  1073. buyusername:
  1074. description: 采购方名称
  1075. type: string
  1076. contractno:
  1077. description: 合同编号
  1078. type: string
  1079. contracttype:
  1080. description: 现货合同类型 - 1:采购 -1:销售
  1081. type: integer
  1082. deductamount:
  1083. description: 退款(非必填)
  1084. type: number
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. operateapplyid:
  1095. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1096. type: string
  1097. operateapplytype:
  1098. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1099. type: integer
  1100. payamount:
  1101. description: 收付款(非必填)
  1102. type: number
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. type: object
  1119. ermcp.QryErmcpRsp:
  1120. properties:
  1121. accountid:
  1122. description: 账户ID
  1123. type: string
  1124. accountname:
  1125. description: 账户名称
  1126. type: string
  1127. contracctstatus:
  1128. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1129. type: integer
  1130. convertfactor:
  1131. description: 标仓系数
  1132. type: number
  1133. daikaiamount:
  1134. description: 待开票额
  1135. type: number
  1136. deliveryenddate:
  1137. description: 交割结束日
  1138. type: string
  1139. deliverygoodscode:
  1140. description: 现货商品代码
  1141. type: string
  1142. deliverygoodsid:
  1143. description: 现货商品ID
  1144. type: integer
  1145. deliverygoodsname:
  1146. description: 现货商品名称
  1147. type: string
  1148. deliverystartdate:
  1149. description: 交割开始日
  1150. type: string
  1151. enddate:
  1152. description: 点价结束日
  1153. type: string
  1154. enumdicname:
  1155. description: 单位名称
  1156. type: string
  1157. goodscode:
  1158. description: 点价商品代码
  1159. type: string
  1160. goodsid:
  1161. description: 点价商品ID
  1162. type: integer
  1163. invoiceamount:
  1164. description: 已开票额
  1165. type: number
  1166. payamount:
  1167. description: 已收付额(收款或付款)
  1168. type: number
  1169. pricedqty:
  1170. description: 已定价量
  1171. type: number
  1172. pricemove:
  1173. description: 升贴水
  1174. type: number
  1175. pricetype:
  1176. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1177. type: integer
  1178. producttype:
  1179. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1180. type: integer
  1181. qty:
  1182. description: 合同量
  1183. type: number
  1184. spotcontractid:
  1185. description: 合同ID
  1186. type: string
  1187. spotgoodsdesc:
  1188. description: 商品型号(商品规格)
  1189. type: string
  1190. startdate:
  1191. description: 点价开始日
  1192. type: string
  1193. unpayamount:
  1194. description: 待支收额(支付或收款)
  1195. type: number
  1196. unpricedqty:
  1197. description: 未定价量
  1198. type: number
  1199. unsureqty:
  1200. description: 未确定量
  1201. type: number
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. type: object
  1206. ermcp.QryHedgePlanRsp:
  1207. properties:
  1208. areauserid:
  1209. description: 用户ID
  1210. type: integer
  1211. contracttype:
  1212. description: 计划类型 - 1:采购 -1:销售
  1213. type: integer
  1214. convertfactor:
  1215. description: 标仓系数
  1216. type: number
  1217. deliverygoodsid:
  1218. description: 现货品种ID
  1219. type: integer
  1220. deliverygoodsname:
  1221. description: 现货品种名称
  1222. type: string
  1223. hedgeplanid:
  1224. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1225. type: string
  1226. hedgeplanno:
  1227. description: 套保计划编号
  1228. type: string
  1229. hedgeplanstatus:
  1230. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1231. type: integer
  1232. planqty:
  1233. description: 计划数量
  1234. type: number
  1235. plantime:
  1236. description: 计划时间
  1237. type: string
  1238. producttype:
  1239. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1240. type: integer
  1241. remark:
  1242. description: 备注
  1243. type: string
  1244. spotgoodsdesc:
  1245. description: 商品型号
  1246. type: string
  1247. wrstandardid:
  1248. description: 现货商品ID
  1249. type: integer
  1250. wrstandardname:
  1251. description: 现货商品名称
  1252. type: string
  1253. type: object
  1254. ermcp.QrySpotContractRsp:
  1255. properties:
  1256. amount:
  1257. description: 金额 [1:一口价、3:暂定价]
  1258. type: number
  1259. buyuserid:
  1260. description: 采购方ID
  1261. type: integer
  1262. buyusername:
  1263. description: 采购方名称
  1264. type: string
  1265. contracctstatus:
  1266. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1267. type: integer
  1268. contractno:
  1269. description: 现货合同编号
  1270. type: string
  1271. contracttype:
  1272. description: 现货合同类型 - 1:采购 -1:销售
  1273. type: integer
  1274. convertfactor:
  1275. description: 标仓系数
  1276. type: number
  1277. deliveryenddate:
  1278. description: 交收期(结束)
  1279. type: string
  1280. deliverygoodscode:
  1281. description: 现货品种代码
  1282. type: string
  1283. deliverygoodsid:
  1284. description: 现货品种ID
  1285. type: integer
  1286. deliverygoodsname:
  1287. description: 现货品种名称
  1288. type: string
  1289. deliverystartdate:
  1290. description: 交收期(开始)
  1291. type: string
  1292. enddate:
  1293. description: 点价结束日期 [2:点价 3:暂定价]
  1294. type: string
  1295. enumdicname:
  1296. description: 单位名称
  1297. type: string
  1298. goodscode:
  1299. description: 点价合约代码
  1300. type: string
  1301. goodsid:
  1302. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  1303. type: integer
  1304. margin:
  1305. description: 当前保证金
  1306. type: number
  1307. price:
  1308. description: 价格\暂定价 [1:一口价、3:暂定价]
  1309. type: number
  1310. pricemove:
  1311. description: 升贴水 [2:点价 3:暂定价]
  1312. type: number
  1313. pricetype:
  1314. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1315. type: integer
  1316. producttype:
  1317. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1318. type: integer
  1319. qty:
  1320. description: 数量
  1321. type: number
  1322. selluserid:
  1323. description: 销售方ID
  1324. type: integer
  1325. sellusername:
  1326. description: 销售方名称
  1327. type: string
  1328. spotcontractid:
  1329. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  1330. type: string
  1331. spotgoodsdesc:
  1332. description: 商品型号
  1333. type: string
  1334. startdate:
  1335. description: 点价开始日期 [2:点价 3:暂定价]
  1336. type: string
  1337. userid:
  1338. description: 机构ID
  1339. type: integer
  1340. type: object
  1341. ermcp.QryUserInfoRsp:
  1342. properties:
  1343. address:
  1344. description: 通讯地址
  1345. type: string
  1346. cardnum:
  1347. description: 证件号码
  1348. type: string
  1349. cardtype:
  1350. description: 证件类型
  1351. type: string
  1352. customername:
  1353. description: 企业名称
  1354. type: string
  1355. memberuserid:
  1356. description: 所属机构ID
  1357. type: integer
  1358. mobile:
  1359. description: 手机号码
  1360. type: string
  1361. remark:
  1362. description: 备注
  1363. type: string
  1364. status:
  1365. description: 账户状态
  1366. type: string
  1367. telphone:
  1368. description: 联系电话
  1369. type: string
  1370. userid:
  1371. description: 用户ID
  1372. type: integer
  1373. userinfotype:
  1374. description: 客户类型
  1375. type: string
  1376. type: object
  1377. ermcp.QryWrStandardRsp:
  1378. properties:
  1379. areauserid:
  1380. description: 所属机构
  1381. type: integer
  1382. createtime:
  1383. description: 创建时间
  1384. type: string
  1385. creatorid:
  1386. description: 创建人
  1387. type: integer
  1388. deliverygoodsid:
  1389. description: 品种ID
  1390. type: integer
  1391. enumdicname:
  1392. description: 单位名称
  1393. type: string
  1394. minivalue:
  1395. description: 最小变动值
  1396. type: integer
  1397. minivaluedp:
  1398. description: 最小变动值小数位
  1399. type: integer
  1400. realminivalue:
  1401. description: 实际最小变动值
  1402. type: integer
  1403. realminivaluedp:
  1404. description: 实际最小变动值小数位
  1405. type: integer
  1406. unitid:
  1407. description: 单位ID
  1408. type: integer
  1409. wrstandardcode:
  1410. description: 现货商品代码
  1411. type: string
  1412. wrstandardid:
  1413. description: 现货商品ID(SEQ_WRSTANDARD)
  1414. type: integer
  1415. wrstandardname:
  1416. description: 现货商品名称
  1417. type: string
  1418. type: object
  1419. erms2.QueryArbitrageStrategyRsp:
  1420. properties:
  1421. applybasis:
  1422. description: 申请基差
  1423. type: number
  1424. asapplyid:
  1425. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1426. type: string
  1427. asname:
  1428. description: 策略名称
  1429. type: string
  1430. asno:
  1431. description: 策略编号
  1432. type: string
  1433. basischangepl:
  1434. description: 基差变动损益[结算更新]
  1435. type: number
  1436. biztype:
  1437. description: 业务类型 - 1:正向套利 -1:反向套利
  1438. type: integer
  1439. closetradedate:
  1440. description: 完结交易日(yyyyMMdd)
  1441. type: string
  1442. curbasis:
  1443. description: 当前基差[结算更新]
  1444. type: number
  1445. deliverygoodsid:
  1446. description: 现货品种ID
  1447. type: integer
  1448. futureavgprice:
  1449. description: 期货建仓均价
  1450. type: number
  1451. futurecloseamount:
  1452. description: 期货平仓金额
  1453. type: number
  1454. futurecloseqty:
  1455. description: 期货平仓数量
  1456. type: number
  1457. futureopenamount:
  1458. description: 期货开仓金额
  1459. type: number
  1460. futureopenqty:
  1461. description: 期货开仓数量
  1462. type: number
  1463. futurepl:
  1464. description: 期货总盈亏[结算更新]
  1465. type: number
  1466. futureqty:
  1467. description: 期货持仓数量
  1468. type: number
  1469. futurequote:
  1470. description: 期货额度
  1471. type: number
  1472. goodsgroupid:
  1473. description: 期货品种ID
  1474. type: integer
  1475. marketid:
  1476. description: 市场ID
  1477. type: integer
  1478. netexposure:
  1479. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1480. type: number
  1481. netexposurepl:
  1482. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1483. type: number
  1484. netexposurerate:
  1485. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1486. type: number
  1487. openbasis:
  1488. description: 建仓基差
  1489. type: number
  1490. pricedspotqty:
  1491. description: 已定价现货数量
  1492. type: number
  1493. pricedspotqtynotax:
  1494. description: 已定价现货不含税数量
  1495. type: number
  1496. remark:
  1497. description: 备注
  1498. type: string
  1499. spotavgprice:
  1500. description: 现货均价
  1501. type: number
  1502. spotbuyamount:
  1503. description: 现货采购金额
  1504. type: number
  1505. spotbuyqty:
  1506. description: 现货采购数量
  1507. type: number
  1508. spotpl:
  1509. description: 现货总盈亏[结算更新]
  1510. type: number
  1511. spotquota:
  1512. description: 现货额度
  1513. type: number
  1514. spotsellamount:
  1515. description: 现货销售金额
  1516. type: number
  1517. spotsellqty:
  1518. description: 现货销售数量
  1519. type: number
  1520. spotusedquota:
  1521. description: 现货占用资金
  1522. type: number
  1523. strategystatus:
  1524. description: 策略状态 - 0:未结束 1:已结束
  1525. type: integer
  1526. totalpl:
  1527. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1528. type: number
  1529. tradedate:
  1530. description: 交易日(yyyyMMdd)
  1531. type: string
  1532. updatetime:
  1533. description: 更新时间
  1534. type: string
  1535. usedquota:
  1536. description: 已占用资金
  1537. type: number
  1538. userid:
  1539. description: 所属机构
  1540. type: integer
  1541. required:
  1542. - asapplyid
  1543. type: object
  1544. erms2.QueryInnerTradeDetailRsp:
  1545. properties:
  1546. accountid:
  1547. description: 账号ID
  1548. type: integer
  1549. agreeunit:
  1550. description: 合约单位
  1551. type: number
  1552. asapplyid:
  1553. description: 策略申请ID
  1554. type: integer
  1555. asname:
  1556. description: 策略名称
  1557. type: string
  1558. asno:
  1559. description: 策略编号
  1560. type: string
  1561. buyorsell:
  1562. description: 方向 - 0:买 1:卖
  1563. type: integer
  1564. channelbuildtype:
  1565. description: 委托单据类型 0:无 1:建仓 2:平仓
  1566. type: integer
  1567. closetype:
  1568. description: 平仓方式 - 0:无 1:平今 2:平昨
  1569. type: integer
  1570. decimalplace:
  1571. description: 报价小数位
  1572. type: integer
  1573. detailtype:
  1574. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1575. type: integer
  1576. exexchangecode:
  1577. description: 外部交易所代码
  1578. type: string
  1579. exexchangename:
  1580. description: 外部交易所名称
  1581. type: string
  1582. goodscode:
  1583. description: 商品代码(合约)
  1584. type: string
  1585. goodsgroupid:
  1586. description: 商品组ID(品种ID)
  1587. type: integer
  1588. goodsgroupname:
  1589. description: 商品组名称(品种)
  1590. type: string
  1591. goodsid:
  1592. description: 商品ID
  1593. type: integer
  1594. goodsname:
  1595. description: 商品名称(合约)
  1596. type: string
  1597. goodunit:
  1598. description: 报价单位
  1599. type: string
  1600. marketid:
  1601. description: 市场ID
  1602. type: integer
  1603. orderid:
  1604. description: 委托单号
  1605. type: string
  1606. outgoodscode:
  1607. description: 商品代码(外部)
  1608. type: string
  1609. relatedouttradeid:
  1610. description: 关联外部成交单ID
  1611. type: string
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotcontractid:
  1616. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1617. type: integer
  1618. spotcontractno:
  1619. description: 现货合同编号
  1620. type: string
  1621. tradeid:
  1622. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1623. type: string
  1624. tradeprice:
  1625. description: 成交价格
  1626. type: number
  1627. tradeqty:
  1628. description: 成交数量
  1629. type: integer
  1630. tradetime:
  1631. description: 成交时间
  1632. type: string
  1633. updatetime:
  1634. description: 更新时间
  1635. type: string
  1636. required:
  1637. - asapplyid
  1638. - buyorsell
  1639. - goodscode
  1640. - goodsgroupid
  1641. - goodsgroupname
  1642. - goodsname
  1643. - tradeid
  1644. type: object
  1645. erms2.QuerySpotContractRsp:
  1646. properties:
  1647. accountid:
  1648. description: 资金账户ID
  1649. type: integer
  1650. areauserid:
  1651. description: 所属机构
  1652. type: integer
  1653. closedate:
  1654. description: 终止日期
  1655. type: string
  1656. closeremark:
  1657. description: 结束备注
  1658. type: string
  1659. closetradedate:
  1660. description: 完结交易日(yyyyMMdd)
  1661. type: string
  1662. closetype:
  1663. description: 终止类型 - 1:违约 2:提前终止
  1664. type: integer
  1665. contractamount:
  1666. description: 合同金额
  1667. type: number
  1668. contractattachment:
  1669. description: 合同附件
  1670. type: string
  1671. contractno:
  1672. description: 现货合同编号
  1673. type: string
  1674. contractqty:
  1675. description: 合同数量(数值) (用于计算)
  1676. type: number
  1677. contractqtychar:
  1678. description: 合同数量\已订价数量 (用于显示)
  1679. type: string
  1680. contractstatus:
  1681. description: 合同状态 - 0:未结束 1:已结束
  1682. type: integer
  1683. contracttype:
  1684. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1685. type: integer
  1686. customeraccountid:
  1687. description: 客户资金账户ID
  1688. type: integer
  1689. customeruserid:
  1690. description: 客户ID
  1691. type: integer
  1692. deliverygoodsdesc:
  1693. description: 品种说明
  1694. type: string
  1695. deliverygoodsid:
  1696. description: 现货品种ID
  1697. type: integer
  1698. handlestatus:
  1699. description: 处理状态
  1700. type: integer
  1701. invoiceatt:
  1702. description: 发票附件
  1703. type: string
  1704. invoicedatetime:
  1705. description: 开收票更新时间
  1706. type: string
  1707. invoiceopentime:
  1708. description: 开票时间
  1709. type: string
  1710. invoiceremark:
  1711. description: 发票备注
  1712. type: string
  1713. invoicestatus:
  1714. description: 开收票状态 - 0:未开票 1:已开票
  1715. type: integer
  1716. lastdate:
  1717. description: 交货时间
  1718. type: string
  1719. marketid:
  1720. description: 市场ID
  1721. type: integer
  1722. paydatetime:
  1723. description: 收付款更新时间
  1724. type: string
  1725. payremark:
  1726. description: 收付款备注
  1727. type: string
  1728. paystatus:
  1729. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1730. type: integer
  1731. positionqty:
  1732. description: 头寸数量 - 合同数量去小数部分
  1733. type: integer
  1734. producttype:
  1735. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1736. type: integer
  1737. relatedqty:
  1738. description: 已关联数量
  1739. type: number
  1740. relatedstatus:
  1741. description: 关联完结状态 - 0:未结束 1:已结束
  1742. type: integer
  1743. remark:
  1744. description: 备注
  1745. type: string
  1746. signdate:
  1747. description: 签订日期
  1748. type: string
  1749. spotcontractid:
  1750. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1751. type: string
  1752. spotdatetime:
  1753. description: 收发货更新时间
  1754. type: string
  1755. spotprice:
  1756. description: 价格
  1757. type: number
  1758. spotremark:
  1759. description: 收发货备注
  1760. type: string
  1761. spotstatus:
  1762. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1763. type: integer
  1764. tradedate:
  1765. description: 交易日(yyyyMMdd)
  1766. type: string
  1767. userid:
  1768. description: 业务员用户ID
  1769. type: integer
  1770. warehouseid:
  1771. description: 仓库ID
  1772. type: integer
  1773. wrfactortypeid:
  1774. description: 仓单要素类型ID
  1775. type: integer
  1776. wrstandardid:
  1777. description: 仓单标准ID(SEQ_WRSTANDARD)
  1778. type: integer
  1779. required:
  1780. - spotcontractid
  1781. type: object
  1782. erms3.AddErms2ASApplyReq:
  1783. properties:
  1784. applybasis:
  1785. description: 申请基差
  1786. type: number
  1787. applystatus:
  1788. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1789. type: integer
  1790. asapplyid:
  1791. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1792. type: integer
  1793. asname:
  1794. description: 策略名称
  1795. type: string
  1796. asno:
  1797. description: 策略编号
  1798. type: string
  1799. auditid:
  1800. description: 审核人
  1801. type: integer
  1802. auditremark:
  1803. description: 审核备注
  1804. type: string
  1805. audittime:
  1806. description: 审核时间
  1807. type: string
  1808. biztype:
  1809. description: 业务类型 - 1:正向套利 2:反向套利
  1810. type: integer
  1811. createtime:
  1812. description: 创建时间
  1813. type: string
  1814. creatorid:
  1815. description: 创建人
  1816. type: integer
  1817. deliverygoodsid:
  1818. description: 现货品种ID
  1819. type: integer
  1820. futurequote:
  1821. description: 期货额度
  1822. type: number
  1823. goodsgroupid:
  1824. description: 期货品种ID
  1825. type: integer
  1826. marketid:
  1827. description: 市场ID
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. spotquota:
  1833. description: 现货额度
  1834. type: number
  1835. tradedate:
  1836. description: 交易日(yyyyMMdd)
  1837. type: string
  1838. userid:
  1839. description: 所属机构
  1840. type: integer
  1841. required:
  1842. - asapplyid
  1843. type: object
  1844. erms3.AddErms2SpotTradeApplyReq:
  1845. properties:
  1846. applyjsondetail:
  1847. description: 申请明细(JSON)
  1848. type: string
  1849. applystatus:
  1850. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1851. type: integer
  1852. areauserid:
  1853. description: 所属机构
  1854. type: integer
  1855. auditid:
  1856. description: 审核人
  1857. type: integer
  1858. auditremark:
  1859. description: 审核备注
  1860. type: string
  1861. audittime:
  1862. description: 审核时间
  1863. type: string
  1864. createtime:
  1865. description: 创建时间
  1866. type: string
  1867. creatorid:
  1868. description: 创建人
  1869. type: integer
  1870. deliverygoodsid:
  1871. description: 现货品种ID
  1872. type: integer
  1873. futureaccountid:
  1874. description: 期货资金账户
  1875. type: integer
  1876. goodsgroupid:
  1877. description: 期货品种
  1878. type: integer
  1879. marketid:
  1880. description: 市场ID
  1881. type: integer
  1882. remark:
  1883. description: 备注
  1884. type: string
  1885. spotaccountid:
  1886. description: 现货资金账户
  1887. type: integer
  1888. spottradeid:
  1889. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1890. type: integer
  1891. spottradename:
  1892. description: 业务名称
  1893. type: string
  1894. spottradeno:
  1895. description: 业务编号
  1896. type: string
  1897. tradedate:
  1898. description: 交易日(yyyyMMdd)
  1899. type: string
  1900. wrstandardid:
  1901. description: 仓单标准ID
  1902. type: integer
  1903. required:
  1904. - spottradeid
  1905. type: object
  1906. erms3.AddSpotContractApplyReq:
  1907. properties:
  1908. accountid:
  1909. description: 资金账户ID
  1910. type: integer
  1911. areauserid:
  1912. description: 所属机构
  1913. type: integer
  1914. contractattachment:
  1915. description: 合同附件
  1916. type: string
  1917. contractno:
  1918. description: 现货合同编号
  1919. type: string
  1920. contracttype:
  1921. description: 现货合同类型 - 1:采购 -1:销售
  1922. type: integer
  1923. creatorid:
  1924. description: 申请人
  1925. type: integer
  1926. customeraccountid:
  1927. description: 客户资金账户ID
  1928. type: integer
  1929. customeruserid:
  1930. description: 客户ID
  1931. type: integer
  1932. details:
  1933. description: 明细
  1934. items:
  1935. $ref: '#/definitions/erms3.SoptContractDetail'
  1936. type: array
  1937. orimargin:
  1938. description: 初始保证金
  1939. type: number
  1940. remark:
  1941. description: 备注
  1942. type: string
  1943. signdate:
  1944. description: 签订日期
  1945. type: string
  1946. required:
  1947. - accountid
  1948. - areauserid
  1949. - contractno
  1950. - contracttype
  1951. - customeraccountid
  1952. - customeruserid
  1953. - details
  1954. - orimargin
  1955. - signdate
  1956. type: object
  1957. erms3.AddSpotContractApplyRsp:
  1958. properties:
  1959. contractno:
  1960. description: 现货合同编号
  1961. type: string
  1962. spotcontractid:
  1963. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1964. type: integer
  1965. required:
  1966. - contractno
  1967. type: object
  1968. erms3.AddUserInfoApplyReq:
  1969. properties:
  1970. accountid:
  1971. description: 交易系统帐号Id (加密存储)
  1972. type: integer
  1973. areacode:
  1974. description: 机构代码
  1975. type: string
  1976. areaid:
  1977. description: 机构Id
  1978. type: integer
  1979. attachment1:
  1980. description: 附件1
  1981. type: string
  1982. attachment2:
  1983. description: 附件2
  1984. type: string
  1985. attachment3:
  1986. description: 附件3
  1987. type: string
  1988. attachment4:
  1989. description: 附件4
  1990. type: string
  1991. attachment5:
  1992. description: 附件5
  1993. type: string
  1994. auditedby:
  1995. description: 审核人
  1996. type: string
  1997. auditime:
  1998. description: 审核时间
  1999. type: string
  2000. bankaccount:
  2001. description: 银行帐号 (加密存储)
  2002. type: string
  2003. bankaccountname:
  2004. description: 收款人名称
  2005. type: string
  2006. bankcardbackphotourl:
  2007. description: 银行卡背面照地址
  2008. type: string
  2009. bankcardfrontphotourl:
  2010. description: 银行卡正面照地址
  2011. type: string
  2012. bankid:
  2013. description: 银行编码
  2014. type: string
  2015. bankname:
  2016. description: 银行名称
  2017. type: string
  2018. bankpictureurl:
  2019. description: 银行卡正面地址
  2020. type: string
  2021. biznature:
  2022. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2023. type: integer
  2024. bizscope:
  2025. description: 企业经营范围(企业)
  2026. type: string
  2027. biztype:
  2028. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2029. type: integer
  2030. brokerid:
  2031. description: 经纪人ID(加密存储)
  2032. type: string
  2033. cardaddress:
  2034. description: 证件地址 (加密存储)
  2035. type: string
  2036. cardbackphotourl:
  2037. description: 背面证件照地址
  2038. type: string
  2039. cardfrontphotourl:
  2040. description: 正面证件照地址
  2041. type: string
  2042. cardnum:
  2043. description: 证件号码 (加密存储)
  2044. type: string
  2045. cardtype:
  2046. description: 证件类型
  2047. type: integer
  2048. cityid:
  2049. description: 市
  2050. type: integer
  2051. company:
  2052. description: 公司(个人)
  2053. type: string
  2054. contactcardbackphotourl:
  2055. description: 联系人证件背面图片地址
  2056. type: string
  2057. contactcardfrontphotourl:
  2058. description: 联系人证件正面图片地址
  2059. type: string
  2060. contactname:
  2061. description: 联系人
  2062. type: string
  2063. countryid:
  2064. description: 国家
  2065. type: integer
  2066. createtime:
  2067. description: 开户申请时间
  2068. type: string
  2069. cusbankid:
  2070. description: 签约类型
  2071. type: string
  2072. cusbankname:
  2073. description: 签约类型名称
  2074. type: string
  2075. customername:
  2076. description: 客户名称(企业名称)
  2077. type: string
  2078. districtid:
  2079. description: 地区
  2080. type: integer
  2081. email:
  2082. description: Email地址(加密存储)
  2083. type: string
  2084. halfbodyphotourl:
  2085. description: 半身照地址
  2086. type: string
  2087. headurl:
  2088. description: 头像地址
  2089. type: string
  2090. ipaddress:
  2091. description: IP地址
  2092. type: string
  2093. isvalidate:
  2094. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2095. type: string
  2096. legalcardbackphotourl:
  2097. description: 法人身份证背面照地址
  2098. type: string
  2099. legalcardfrontphotourl:
  2100. description: 法人身份证正面照地址
  2101. type: string
  2102. legalpersonname:
  2103. description: 法人姓名(企业)
  2104. type: string
  2105. logincode:
  2106. description: 登录帐号 (加密存储)
  2107. type: string
  2108. memberareaid:
  2109. description: 所属会员ID
  2110. type: integer
  2111. mobile2:
  2112. description: 手机号码[明文-尚志]
  2113. type: string
  2114. mobilephone:
  2115. description: 手机号码 (加密存储)
  2116. type: string
  2117. modifiedby:
  2118. description: 修改人帐号
  2119. type: integer
  2120. modifiedtime:
  2121. description: 修改时间
  2122. type: string
  2123. nickname:
  2124. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2125. type: string
  2126. openmode:
  2127. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2128. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2129. type: integer
  2130. otherurl:
  2131. description: 其它图片地址[使用分号分隔]
  2132. type: string
  2133. postalcode:
  2134. description: 邮政编码
  2135. type: string
  2136. provinceid:
  2137. description: 省
  2138. type: integer
  2139. proxystatementurl:
  2140. description: 授权委托书
  2141. type: string
  2142. qq:
  2143. description: QQ(加密存储
  2144. type: string
  2145. referral:
  2146. description: 推荐人编码
  2147. type: string
  2148. remark:
  2149. description: 备注
  2150. type: string
  2151. removebeforestatus:
  2152. description: REMOVEBEFORESTATUS
  2153. type: integer
  2154. sex:
  2155. description: 性别 - 0:女 1:男
  2156. type: integer
  2157. signedstatus:
  2158. description: 账户一号签签约状态
  2159. type: integer
  2160. signpdfurl:
  2161. description: 签约pdf文件
  2162. type: string
  2163. subbranch:
  2164. description: 开户支行
  2165. type: string
  2166. telphone:
  2167. description: 联系电话(加密存储)
  2168. type: string
  2169. userid:
  2170. description: 用户ID(自增ID)
  2171. type: integer
  2172. userinfotype:
  2173. description: 用户信息类型 - 1:个人 2:企业
  2174. type: integer
  2175. username:
  2176. description: 用户姓名
  2177. type: string
  2178. userstate:
  2179. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2180. type: integer
  2181. usertype:
  2182. description: 用户类型 - 1:投资者 2:机构
  2183. type: integer
  2184. videourl:
  2185. description: 视频地址
  2186. type: string
  2187. wechat:
  2188. description: 微信号 (加密存储)
  2189. type: string
  2190. required:
  2191. - userid
  2192. type: object
  2193. erms3.CustomerInfo:
  2194. properties:
  2195. accountids:
  2196. description: 资金账户ID列表
  2197. items:
  2198. type: integer
  2199. type: array
  2200. customername:
  2201. description: 名称(企业名称)
  2202. type: string
  2203. mobile:
  2204. description: 手机号码
  2205. type: string
  2206. userid:
  2207. description: 用户ID
  2208. type: integer
  2209. required:
  2210. - userid
  2211. type: object
  2212. erms3.QryAuditContractRsp:
  2213. properties:
  2214. accountid:
  2215. description: 交易员ID
  2216. type: string
  2217. applystatus:
  2218. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2219. type: integer
  2220. curdeliveryqty:
  2221. description: 未交收量
  2222. type: integer
  2223. customername:
  2224. description: 采购方ID
  2225. type: string
  2226. deliverygoodsid:
  2227. description: 品种ID
  2228. type: string
  2229. deliveryqty:
  2230. description: 交收量
  2231. type: integer
  2232. enumdicname:
  2233. description: 单位名称
  2234. type: string
  2235. matchaccountid:
  2236. description: 业务员ID
  2237. type: string
  2238. matchcustomername:
  2239. description: 销售方ID
  2240. type: string
  2241. pricedqty:
  2242. description: 定价量
  2243. type: number
  2244. signdate:
  2245. description: 签订日期
  2246. type: string
  2247. spotcontractid:
  2248. description: 合同ID
  2249. type: string
  2250. totaldqty:
  2251. description: 合同量
  2252. type: number
  2253. unpricedqty:
  2254. description: 未定价量
  2255. type: number
  2256. wrstandardname:
  2257. description: 商品名称
  2258. type: string
  2259. required:
  2260. - matchcustomername
  2261. - spotcontractid
  2262. type: object
  2263. erms3.QryPendingBizRsp:
  2264. properties:
  2265. accountid:
  2266. description: 现货账户
  2267. type: string
  2268. areaname:
  2269. description: 所属部门
  2270. type: string
  2271. bizid:
  2272. description: 业务ID
  2273. type: string
  2274. bizname:
  2275. description: 业务名称
  2276. type: string
  2277. status:
  2278. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2279. type: integer
  2280. type:
  2281. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  2282. type: integer
  2283. type: object
  2284. erms3.QueryBusinessInfoRsp:
  2285. properties:
  2286. businessid:
  2287. description: 业务ID.
  2288. type: integer
  2289. buyamount:
  2290. description: 采购额.
  2291. type: number
  2292. buyqty:
  2293. description: 采购量.
  2294. type: string
  2295. futurepl:
  2296. description: 期货盈亏.
  2297. type: number
  2298. futureqty:
  2299. description: 期货敞口.
  2300. type: string
  2301. goodsid:
  2302. description: 商品名称/商品代码.
  2303. type: string
  2304. hedgingqty:
  2305. description: 套保量.
  2306. type: string
  2307. sellamount:
  2308. description: 销售额.
  2309. type: number
  2310. sellqty:
  2311. description: 销售量.
  2312. type: string
  2313. spotmarketvalue:
  2314. description: 现货市值.
  2315. type: number
  2316. spotpl:
  2317. description: 浮动权益.
  2318. type: number
  2319. spotqty:
  2320. description: 现货量.
  2321. type: string
  2322. statu:
  2323. description: 状态,0-未结束 1-已结束.
  2324. type: integer
  2325. totalpl:
  2326. description: 总盈亏.
  2327. type: number
  2328. totalqty:
  2329. description: 总敞口.
  2330. type: string
  2331. type:
  2332. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2333. type: integer
  2334. type: object
  2335. erms3.QuerySpotContractAppleFormRsp:
  2336. properties:
  2337. goodses:
  2338. description: 合约列表
  2339. items:
  2340. $ref: '#/definitions/models.GoodsIDAndName'
  2341. type: array
  2342. oppositeusers:
  2343. description: 对方账号列表
  2344. items:
  2345. $ref: '#/definitions/erms3.CustomerInfo'
  2346. type: array
  2347. ouruser:
  2348. $ref: '#/definitions/erms3.CustomerInfo'
  2349. description: 我方账号
  2350. warehouseinfos:
  2351. description: 仓库信息列表
  2352. items:
  2353. $ref: '#/definitions/models.Warehouseinfo'
  2354. type: array
  2355. wrstandards:
  2356. description: 仓单标准列表
  2357. items:
  2358. $ref: '#/definitions/models.WRStandardInfo'
  2359. type: array
  2360. type: object
  2361. erms3.QuerySpotContractInfoRsp:
  2362. properties:
  2363. accountid:
  2364. description: 表示交易员ID.
  2365. type: integer
  2366. curdeliveryqty:
  2367. description: 表示未交收量.
  2368. type: number
  2369. customername:
  2370. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2371. type: string
  2372. deliverygoodsid:
  2373. description: 表示品种ID.
  2374. type: string
  2375. deliveryqty:
  2376. description: 表示交收量.
  2377. type: number
  2378. matchaccountid:
  2379. description: 表示业务员ID.
  2380. type: integer
  2381. matchcustomername:
  2382. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2383. type: string
  2384. priceqty:
  2385. description: 表示定价量.
  2386. type: number
  2387. relatedbizid:
  2388. description: 表示业务ID.
  2389. type: string
  2390. signdate:
  2391. description: 表示签订日期.
  2392. type: string
  2393. spotcontractid:
  2394. description: 合同ID
  2395. type: string
  2396. status:
  2397. description: 表示状态,0-履约中 1-已完成.
  2398. type: integer
  2399. totalqty:
  2400. description: 表示合同量.
  2401. type: number
  2402. unpricedqty:
  2403. description: 表示未定价量.
  2404. type: number
  2405. wrstandardname:
  2406. description: 表示商品ID.
  2407. type: string
  2408. type: object
  2409. erms3.QueryUserInfoAppliesRsp:
  2410. properties:
  2411. biznature:
  2412. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2413. type: integer
  2414. contactname:
  2415. description: 联系人
  2416. type: string
  2417. createtime:
  2418. description: 开户申请时间
  2419. type: string
  2420. userid:
  2421. description: 用户ID(自增ID)
  2422. type: integer
  2423. userinfotype:
  2424. description: 用户信息类型 - 1:个人 2:企业
  2425. type: integer
  2426. username:
  2427. description: 用户姓名
  2428. type: string
  2429. userstate:
  2430. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2431. type: integer
  2432. required:
  2433. - userid
  2434. type: object
  2435. erms3.QueryUserInfosRsp:
  2436. properties:
  2437. biznature:
  2438. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2439. type: integer
  2440. contactname:
  2441. description: 联系人
  2442. type: string
  2443. customername:
  2444. description: 客户名称(企业名称)
  2445. type: string
  2446. userid:
  2447. description: 用户ID
  2448. type: integer
  2449. userinfotype:
  2450. description: 用户信息类型 - 1:个人 2:企业
  2451. type: integer
  2452. userstatus:
  2453. description: 用户状态 - 1:正常 2:注销
  2454. type: integer
  2455. required:
  2456. - userid
  2457. type: object
  2458. erms3.SoptContractDetail:
  2459. properties:
  2460. deliverygoodsdesc:
  2461. description: 现货品种说明
  2462. type: string
  2463. deliverygoodsid:
  2464. description: 现货品种ID
  2465. type: integer
  2466. deliverygoodsname:
  2467. description: 现货品种名称
  2468. type: string
  2469. pointdesc:
  2470. description: 点价描述
  2471. type: string
  2472. producttype:
  2473. description: 产品类型 1:标准仓单 2:等标 3:非标
  2474. type: integer
  2475. producttypename:
  2476. description: 产品类型名称
  2477. type: string
  2478. spotPointOrderVoList:
  2479. description: 点价列表
  2480. items:
  2481. $ref: '#/definitions/erms3.SpotPointOrder'
  2482. type: array
  2483. spotPriceOrderList:
  2484. description: 定价列表
  2485. items:
  2486. $ref: '#/definitions/erms3.SpotPriceOrder'
  2487. type: array
  2488. unitname:
  2489. description: 单位名称
  2490. type: string
  2491. warehouseid:
  2492. description: 仓库ID
  2493. type: integer
  2494. warehousename:
  2495. description: 仓库名称
  2496. type: string
  2497. wrstandardid:
  2498. description: 交易标的ID
  2499. type: integer
  2500. wrstandardname:
  2501. description: 交易标的名称
  2502. type: string
  2503. required:
  2504. - deliverygoodsid
  2505. - producttype
  2506. - unitname
  2507. - warehouseid
  2508. - wrstandardid
  2509. - wrstandardname
  2510. type: object
  2511. erms3.SpotPointOrder:
  2512. properties:
  2513. basic:
  2514. description: 基差
  2515. type: number
  2516. deliveryenddate:
  2517. description: 交收结束日期
  2518. type: string
  2519. deliverystartdate:
  2520. description: 交收开始日期
  2521. type: string
  2522. enddate:
  2523. description: 点价结束日期
  2524. type: string
  2525. goodsid:
  2526. description: 商品ID
  2527. type: integer
  2528. goodsname:
  2529. description: 商品名称
  2530. type: string
  2531. qty:
  2532. description: 数量
  2533. type: number
  2534. startdate:
  2535. description: 点价开始日期
  2536. type: string
  2537. required:
  2538. - basic
  2539. - goodsid
  2540. - qty
  2541. type: object
  2542. erms3.SpotPriceOrder:
  2543. properties:
  2544. amount:
  2545. description: 金额
  2546. type: number
  2547. deliveryenddate:
  2548. description: 交收结束日期
  2549. type: string
  2550. deliverystartdate:
  2551. description: 交收开始日期
  2552. type: string
  2553. price:
  2554. description: 价格
  2555. type: number
  2556. qty:
  2557. description: 数量
  2558. type: number
  2559. required:
  2560. - amount
  2561. - price
  2562. - qty
  2563. type: object
  2564. hsby.GetHsbyMyCountRsp:
  2565. properties:
  2566. myCouponCount:
  2567. description: 我的优惠卷数量
  2568. type: integer
  2569. myOrderDetailListingCount:
  2570. description: 我的订单求购中数量
  2571. type: integer
  2572. myOrderDetailPreCount:
  2573. description: 我的订单抢购中数量
  2574. type: integer
  2575. myPackageUnReceiveCount:
  2576. description: 我的包裹待收货数量
  2577. type: integer
  2578. myPackageUnSendCount:
  2579. description: 我的包裹待发货数量
  2580. type: integer
  2581. myPayOrderCount:
  2582. description: 我的订单待付款数量
  2583. type: integer
  2584. type: object
  2585. hsby.QueryProvincesAndCitiesRsp:
  2586. properties:
  2587. cities:
  2588. description: 市
  2589. items:
  2590. $ref: '#/definitions/models.Division'
  2591. type: array
  2592. province:
  2593. $ref: '#/definitions/models.Division'
  2594. description: 省
  2595. type: object
  2596. models.Division:
  2597. properties:
  2598. autoid:
  2599. description: 自增ID
  2600. type: integer
  2601. divisioncode:
  2602. description: 行政代码
  2603. type: string
  2604. divisionlevel:
  2605. description: 行政级别
  2606. type: string
  2607. divisionname:
  2608. description: 行政名称
  2609. type: string
  2610. modifierid:
  2611. description: 修改人
  2612. type: integer
  2613. modifytime:
  2614. description: 修改时间
  2615. type: string
  2616. parentcode:
  2617. description: 上级行政代码
  2618. type: string
  2619. pathname:
  2620. description: 路径名称
  2621. type: string
  2622. postcode:
  2623. description: 邮政编码
  2624. type: string
  2625. separablename:
  2626. description: 可拆分的全称
  2627. type: string
  2628. shortcode:
  2629. description: 地区简码
  2630. type: string
  2631. required:
  2632. - autoid
  2633. - divisioncode
  2634. type: object
  2635. models.Enumdicitem:
  2636. properties:
  2637. autoid:
  2638. description: 自增ID
  2639. type: integer
  2640. bankmappedvalue:
  2641. description: 银行服务对应值
  2642. type: string
  2643. enumdiccode:
  2644. description: 所属枚举代码
  2645. type: string
  2646. enumdicid:
  2647. description: 所属枚举ID
  2648. type: integer
  2649. enumdicname:
  2650. description: 枚举项名称
  2651. type: string
  2652. enumitemname:
  2653. description: 枚举项值
  2654. type: integer
  2655. enumitemstatus:
  2656. description: 枚举项状态 - 1.启用 2.不启用
  2657. type: integer
  2658. enumitemvalue:
  2659. description: 通用值 - [币种通用简写]
  2660. type: string
  2661. param1:
  2662. description: 参数1[币种:币种小数位]
  2663. type: string
  2664. param2:
  2665. description: 参数1[币种:币种显示单位]
  2666. type: string
  2667. remark:
  2668. description: 备注
  2669. type: string
  2670. required:
  2671. - autoid
  2672. - enumdiccode
  2673. - enumdicid
  2674. - enumitemname
  2675. type: object
  2676. models.GoodsIDAndName:
  2677. properties:
  2678. goodscode:
  2679. description: 商品代码(内部)
  2680. type: string
  2681. goodsid:
  2682. description: 商品ID(自增ID SEQ_GOODS)
  2683. type: integer
  2684. goodsname:
  2685. description: 商品名称
  2686. type: string
  2687. marketid:
  2688. description: 所属市场ID
  2689. type: integer
  2690. required:
  2691. - goodscode
  2692. - goodsid
  2693. - goodsname
  2694. - marketid
  2695. type: object
  2696. models.HsbyBuyMyPayOrder:
  2697. properties:
  2698. agreeunit:
  2699. description: 合约单位
  2700. type: number
  2701. buyaccountid:
  2702. description: 买方账号ID[报价币种]
  2703. type: integer
  2704. buyorderid:
  2705. description: 买方委托单号
  2706. type: string
  2707. createtime:
  2708. description: 创建时间
  2709. type: string
  2710. currencysign:
  2711. description: 货币符号
  2712. type: string
  2713. decimalplace:
  2714. description: 报价小数位
  2715. type: integer
  2716. goodscode:
  2717. description: 商品代码(内部)
  2718. type: string
  2719. goodsid:
  2720. description: 商品ID
  2721. type: integer
  2722. goodsname:
  2723. description: 商品名称
  2724. type: string
  2725. marketid:
  2726. description: 市场ID
  2727. type: integer
  2728. offamount:
  2729. description: 优惠金额
  2730. type: number
  2731. payamount:
  2732. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  2733. type: number
  2734. payflag:
  2735. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  2736. type: integer
  2737. paylimitedtime:
  2738. description: 支付期限
  2739. type: string
  2740. paytime:
  2741. description: 付款时间
  2742. type: string
  2743. picurls1:
  2744. description: 预售商品介绍图片[多张用逗号分隔]
  2745. type: string
  2746. picurls2:
  2747. description: 挂牌商品介绍图片[多张用逗号分隔]
  2748. type: string
  2749. sellaccountid:
  2750. description: 卖方账号ID[报价币种]
  2751. type: integer
  2752. sellorderid:
  2753. description: 卖方委托单号
  2754. type: string
  2755. tradeamount:
  2756. description: 成交金额
  2757. type: number
  2758. tradecharge:
  2759. description: 成交手续费(买方)
  2760. type: number
  2761. tradedate:
  2762. description: 交易日(yyyyMMdd)
  2763. type: string
  2764. tradeid:
  2765. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2766. type: string
  2767. trademode:
  2768. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2769. 21:竞拍-大宗式 22:受托竞价
  2770. type: integer
  2771. tradeprice:
  2772. description: 成交价格
  2773. type: number
  2774. tradeqty:
  2775. description: 成交数量
  2776. type: integer
  2777. vendorname1:
  2778. description: 预售商品供应商名称
  2779. type: string
  2780. vendorname2:
  2781. description: 挂牌商品供应商名称
  2782. type: string
  2783. required:
  2784. - goodscode
  2785. - goodsname
  2786. - tradeid
  2787. - trademode
  2788. type: object
  2789. models.HsbyBuyMyTradeDetail:
  2790. properties:
  2791. accountid:
  2792. description: 账户ID[报价币种]
  2793. type: integer
  2794. agreeunit:
  2795. description: 合约单位
  2796. type: number
  2797. amount:
  2798. description: 金额 = 价格 * 数量 * 合约单位
  2799. type: number
  2800. buyorsell:
  2801. description: 买卖 - 0:买 1:卖
  2802. type: integer
  2803. currencysign:
  2804. description: 货币符号
  2805. type: string
  2806. decimalplace:
  2807. description: 报价小数位
  2808. type: integer
  2809. goodscode:
  2810. description: 商品代码(内部)
  2811. type: string
  2812. goodsid:
  2813. description: 商品ID
  2814. type: integer
  2815. goodsname:
  2816. description: 商品名称
  2817. type: string
  2818. marketid:
  2819. description: 市场ID
  2820. type: integer
  2821. orderid:
  2822. description: 单号(成交单号)
  2823. type: string
  2824. picurls1:
  2825. description: 预售商品介绍图片[多张用逗号分隔]
  2826. type: string
  2827. picurls2:
  2828. description: 挂牌商品介绍图片[多张用逗号分隔]
  2829. type: string
  2830. price:
  2831. description: 价格
  2832. type: number
  2833. qty:
  2834. description: 数量
  2835. type: integer
  2836. time:
  2837. description: 时间
  2838. type: string
  2839. trademode:
  2840. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2841. 21:竞拍-大宗式 22:受托竞价
  2842. type: integer
  2843. vendorname1:
  2844. description: 预售商品供应商名称
  2845. type: string
  2846. vendorname2:
  2847. description: 挂牌商品供应商名称
  2848. type: string
  2849. required:
  2850. - accountid
  2851. - buyorsell
  2852. - goodscode
  2853. - goodsid
  2854. - goodsname
  2855. - marketid
  2856. - orderid
  2857. - qty
  2858. - time
  2859. - trademode
  2860. type: object
  2861. models.HsbyGoodsOrderDetail:
  2862. properties:
  2863. buyorsell:
  2864. description: 买卖 - 0:买 1:卖
  2865. type: integer
  2866. currencysign:
  2867. description: 货币符号
  2868. type: string
  2869. customername:
  2870. description: 客户名称(企业名称),已脱敏
  2871. type: string
  2872. enableqty:
  2873. description: 可用数量
  2874. type: integer
  2875. goodunit:
  2876. description: 报价单位
  2877. type: string
  2878. orderid:
  2879. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2880. type: string
  2881. orderprice:
  2882. description: 委托价格
  2883. type: number
  2884. ordertime:
  2885. description: 委托时间
  2886. type: string
  2887. required:
  2888. - buyorsell
  2889. - orderid
  2890. - ordertime
  2891. type: object
  2892. models.HsbyListingGoodsDetail:
  2893. properties:
  2894. agreeunit:
  2895. description: 合约单位
  2896. type: number
  2897. buymaxqty:
  2898. description: 购买上限 [71] - 0为不限
  2899. type: integer
  2900. currency:
  2901. description: 货币
  2902. type: string
  2903. currencysign:
  2904. description: 货币符号
  2905. type: string
  2906. decimalplace:
  2907. description: 报价小数位
  2908. type: integer
  2909. desccityid:
  2910. description: 目的地(市)ID
  2911. type: integer
  2912. descprovinceid:
  2913. description: 目的地(省)ID
  2914. type: integer
  2915. goodscode:
  2916. description: 商品代码(内部)
  2917. type: string
  2918. goodsdesc:
  2919. description: 商品详情
  2920. type: string
  2921. goodsid:
  2922. description: 商品ID(自增ID SEQ_GOODS)
  2923. type: integer
  2924. goodsname:
  2925. description: 商品名称
  2926. type: string
  2927. goodsprice:
  2928. description: 商品价格
  2929. type: number
  2930. hotindex:
  2931. description: 景点热度
  2932. type: integer
  2933. last:
  2934. description: 现价
  2935. type: number
  2936. limitdown:
  2937. description: 跌停价
  2938. type: number
  2939. limitup:
  2940. description: 涨停价
  2941. type: number
  2942. lotsize:
  2943. description: 手数最小变动单位
  2944. type: integer
  2945. marketid:
  2946. description: 所属市场ID
  2947. type: integer
  2948. picurls:
  2949. description: 介绍图片[多张用逗号分隔]
  2950. type: string
  2951. quoteminunit:
  2952. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2953. type: integer
  2954. stepvalue:
  2955. description: 价格最小变动单位
  2956. type: number
  2957. trademode:
  2958. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2959. 21:竞拍-大宗式 22:受托竞价
  2960. type: integer
  2961. vendorattr:
  2962. description: 供应商附件(多张,逗号分隔)
  2963. type: string
  2964. vendorname:
  2965. description: 供应商名称
  2966. type: string
  2967. vendorphone:
  2968. description: 供应商客服电话
  2969. type: string
  2970. videourls:
  2971. description: 介绍视频[多张用逗号分隔]
  2972. type: string
  2973. required:
  2974. - goodscode
  2975. - goodsid
  2976. - goodsname
  2977. - marketid
  2978. - trademode
  2979. type: object
  2980. models.HsbyMarketGoods:
  2981. properties:
  2982. accountid:
  2983. description: 账户ID[报价币种]
  2984. type: integer
  2985. agreeunit:
  2986. description: 合约单位
  2987. type: number
  2988. buyorsell:
  2989. description: 买卖 - 0:买 1:卖
  2990. type: integer
  2991. categoryid:
  2992. description: 类别ID(WRCATEGORY)
  2993. type: integer
  2994. currency:
  2995. description: 货币
  2996. type: string
  2997. currencysign:
  2998. description: 货币符号
  2999. type: string
  3000. customername:
  3001. description: 卖家名称
  3002. type: string
  3003. decimalplace:
  3004. description: 报价小数位
  3005. type: integer
  3006. goodscode:
  3007. description: 商品代码(内部)
  3008. type: string
  3009. goodsid:
  3010. description: 商品ID
  3011. type: integer
  3012. goodsname:
  3013. description: 商品名称
  3014. type: string
  3015. hascoupon:
  3016. description: 是否可用优惠卷
  3017. type: boolean
  3018. hotindex:
  3019. description: 景点热度
  3020. type: integer
  3021. marketid:
  3022. description: 市场ID
  3023. type: integer
  3024. orderid:
  3025. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3026. type: string
  3027. orderprice:
  3028. description: 委托价格
  3029. type: number
  3030. orderstatus:
  3031. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3032. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3033. 16:成交失败违约(荷兰式竞拍专用)
  3034. type: integer
  3035. picurls:
  3036. description: 介绍图片[多张用逗号分隔]
  3037. type: string
  3038. quoteminunit:
  3039. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3040. type: integer
  3041. sellUserID:
  3042. description: 卖方UserID
  3043. type: integer
  3044. trademode:
  3045. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3046. 21:竞拍-大宗式 22:受托竞价
  3047. type: integer
  3048. videourls:
  3049. description: 介绍视频[多张用逗号分隔]
  3050. type: string
  3051. required:
  3052. - accountid
  3053. - buyorsell
  3054. - goodscode
  3055. - goodsid
  3056. - goodsname
  3057. - marketid
  3058. - orderid
  3059. - trademode
  3060. type: object
  3061. models.HsbyMarketGoodsDetail:
  3062. properties:
  3063. accountid:
  3064. description: 账户ID[报价币种]
  3065. type: integer
  3066. agreeunit:
  3067. description: 合约单位
  3068. type: number
  3069. buymaxqty:
  3070. description: 购买上限 [71] - 0为不限
  3071. type: integer
  3072. buyorsell:
  3073. description: 买卖 - 0:买 1:卖
  3074. type: integer
  3075. cancelqty:
  3076. description: 撤单数量
  3077. type: integer
  3078. categoryid:
  3079. description: 类别ID(WRCATEGORY)
  3080. type: integer
  3081. currency:
  3082. description: 货币
  3083. type: string
  3084. currencysign:
  3085. description: 货币符号
  3086. type: string
  3087. customername:
  3088. description: 卖家名称
  3089. type: string
  3090. decimalplace:
  3091. description: 报价小数位
  3092. type: integer
  3093. goodscode:
  3094. description: 商品代码(内部)
  3095. type: string
  3096. goodsdesc:
  3097. description: 商品详情
  3098. type: string
  3099. goodsid:
  3100. description: 商品ID
  3101. type: integer
  3102. goodsname:
  3103. description: 商品名称
  3104. type: string
  3105. hotindex:
  3106. description: 景点热度
  3107. type: integer
  3108. lotsize:
  3109. description: 手数最小变动单位
  3110. type: integer
  3111. marketid:
  3112. description: 市场ID
  3113. type: integer
  3114. orderid:
  3115. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3116. type: string
  3117. orderprice:
  3118. description: 委托价格
  3119. type: number
  3120. orderqty:
  3121. description: 委托数量
  3122. type: integer
  3123. orderstatus:
  3124. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3125. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3126. 16:成交失败违约(荷兰式竞拍专用)
  3127. type: integer
  3128. picurls:
  3129. description: 介绍图片[多张用逗号分隔]
  3130. type: string
  3131. quoteminunit:
  3132. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3133. type: integer
  3134. sellUserID:
  3135. description: 卖方UserID
  3136. type: integer
  3137. trademode:
  3138. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3139. 21:竞拍-大宗式 22:受托竞价
  3140. type: integer
  3141. tradeqty:
  3142. description: 成交数量
  3143. type: integer
  3144. vendorattr:
  3145. description: 供应商附件(多张,逗号分隔)
  3146. type: string
  3147. vendorname:
  3148. description: 供应商名称
  3149. type: string
  3150. vendorphone:
  3151. description: 供应商客服电话
  3152. type: string
  3153. videourls:
  3154. description: 介绍视频[多张用逗号分隔]
  3155. type: string
  3156. required:
  3157. - accountid
  3158. - buyorsell
  3159. - goodscode
  3160. - goodsid
  3161. - goodsname
  3162. - marketid
  3163. - orderid
  3164. - orderqty
  3165. - trademode
  3166. type: object
  3167. models.HsbyMarketInfo:
  3168. properties:
  3169. marketid:
  3170. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  3171. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  3172. type: integer
  3173. marketname:
  3174. description: 市场名称
  3175. type: string
  3176. marketstatus:
  3177. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  3178. type: integer
  3179. trademode:
  3180. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3181. 21:竞拍-大宗式 22:受托竞价
  3182. type: integer
  3183. required:
  3184. - marketid
  3185. - marketstatus
  3186. - trademode
  3187. type: object
  3188. models.HsbyMyGoods:
  3189. properties:
  3190. accountid:
  3191. description: 账号Id
  3192. type: integer
  3193. agreeunit:
  3194. description: 合约单位
  3195. type: number
  3196. buyaverageprice:
  3197. description: 持仓均价
  3198. type: number
  3199. buycurholderamount:
  3200. description: 买当前持仓总金额[商品币种]
  3201. type: number
  3202. buycurpositionqty:
  3203. description: 买当前持仓总数量
  3204. type: integer
  3205. buymaxqty:
  3206. description: 购买上限 [71] - 0为不限
  3207. type: integer
  3208. currencysign:
  3209. description: 货币符号
  3210. type: string
  3211. decimalplace:
  3212. description: 报价小数位
  3213. type: integer
  3214. enableqty:
  3215. description: 可用数量
  3216. type: integer
  3217. goodscode:
  3218. description: 商品代码(内部)
  3219. type: string
  3220. goodsid:
  3221. description: 商品Id
  3222. type: integer
  3223. goodsname:
  3224. description: 商品名称
  3225. type: string
  3226. goodsprice:
  3227. description: 商品价格
  3228. type: number
  3229. goodsstatus:
  3230. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  3231. type: integer
  3232. last:
  3233. description: 现价(仅使用于挂牌点选)
  3234. type: number
  3235. limitdown:
  3236. description: 跌停价(仅使用于挂牌点选)
  3237. type: number
  3238. limitup:
  3239. description: 涨停价(仅使用于挂牌点选)
  3240. type: number
  3241. lotsize:
  3242. description: 手数最小变动单位
  3243. type: integer
  3244. marketid:
  3245. description: 所属市场ID
  3246. type: integer
  3247. picurls:
  3248. description: 介绍图片[多张用逗号分隔]
  3249. type: string
  3250. quoteminunit:
  3251. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3252. type: integer
  3253. stepvalue:
  3254. description: 价格最小变动单位
  3255. type: number
  3256. trademode:
  3257. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3258. 21:竞拍-大宗式 22:受托竞价
  3259. type: integer
  3260. required:
  3261. - accountid
  3262. - goodscode
  3263. - goodsid
  3264. - goodsname
  3265. - marketid
  3266. - trademode
  3267. type: object
  3268. models.HsbyMyPackage:
  3269. properties:
  3270. accountid:
  3271. description: 账户ID
  3272. type: integer
  3273. address:
  3274. description: 提货人详细地址
  3275. type: string
  3276. agreeunit:
  3277. description: 合约单位
  3278. type: number
  3279. amount:
  3280. description: 提货金额
  3281. type: number
  3282. auditer:
  3283. description: 审核人
  3284. type: integer
  3285. audittime:
  3286. description: 审核时间
  3287. type: string
  3288. averageprice:
  3289. description: 均价
  3290. type: number
  3291. cardnum:
  3292. description: 提货人证件号码
  3293. type: string
  3294. cardtypeid:
  3295. description: 提货人证件类型
  3296. type: integer
  3297. checkremark:
  3298. description: 审核备注
  3299. type: string
  3300. currencysign:
  3301. description: 货币符号
  3302. type: string
  3303. decimalplace:
  3304. description: 报价小数位
  3305. type: integer
  3306. goodscode:
  3307. description: 商品代码(内部)
  3308. type: string
  3309. goodsid:
  3310. description: 商品ID
  3311. type: integer
  3312. goodsname:
  3313. description: 商品名称
  3314. type: string
  3315. handlestatus:
  3316. description: 处理状态
  3317. type: integer
  3318. marketid:
  3319. description: 市场ID
  3320. type: integer
  3321. phonenum:
  3322. description: 提货人联系方式
  3323. type: string
  3324. picurls:
  3325. description: 介绍图片[多张用逗号分隔]
  3326. type: string
  3327. qty:
  3328. description: 提货数量
  3329. type: number
  3330. recivername:
  3331. description: 提货人姓名
  3332. type: string
  3333. reqtime:
  3334. description: 更新时间
  3335. type: string
  3336. takemode:
  3337. description: 提货方式 - 2:自提 3:配送
  3338. type: integer
  3339. takeorderid:
  3340. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3341. type: string
  3342. takeorderstatus:
  3343. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3344. type: integer
  3345. takeremark:
  3346. description: 提货备注
  3347. type: string
  3348. tradedate:
  3349. description: 交易日(yyyyMMdd)
  3350. type: string
  3351. userid:
  3352. description: 用户ID
  3353. type: integer
  3354. vendorname:
  3355. description: 供应商名称
  3356. type: string
  3357. required:
  3358. - goodscode
  3359. - goodsname
  3360. - takeorderid
  3361. type: object
  3362. models.HsbyPreGoods:
  3363. properties:
  3364. agreeunit:
  3365. description: 合约单位
  3366. type: number
  3367. currency:
  3368. description: 货币
  3369. type: string
  3370. currencysign:
  3371. description: 货币符号
  3372. type: string
  3373. decimalplace:
  3374. description: 报价小数位
  3375. type: integer
  3376. enableqty:
  3377. description: 剩余数量
  3378. type: integer
  3379. goodscode:
  3380. description: 商品代码(内部)
  3381. type: string
  3382. goodsid:
  3383. description: 商品ID(自增ID SEQ_GOODS)
  3384. type: integer
  3385. goodsname:
  3386. description: 商品名称
  3387. type: string
  3388. goodsstatus:
  3389. description: 商品状态- 2:未上市 3:上市
  3390. type: integer
  3391. lasttradedate:
  3392. description: 最后交易日期(状态:待退市)
  3393. type: string
  3394. listingdate:
  3395. description: 交易开始日期
  3396. type: string
  3397. marketid:
  3398. description: 所属市场ID
  3399. type: integer
  3400. picurls:
  3401. description: 介绍图片[多张用逗号分隔]
  3402. type: string
  3403. presaledqty:
  3404. description: 已预售量(预售结束时更新)
  3405. type: integer
  3406. presaleqty:
  3407. description: 预售数量
  3408. type: integer
  3409. quoteminunit:
  3410. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3411. type: integer
  3412. refprice:
  3413. description: 参考价格[一口价]
  3414. type: number
  3415. relatedgoodsid:
  3416. description: 关联交易合约ID
  3417. type: integer
  3418. trademode:
  3419. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3420. 21:竞拍-大宗式 22:受托竞价
  3421. type: integer
  3422. videourls:
  3423. description: 介绍视频[多张用逗号分隔]
  3424. type: string
  3425. required:
  3426. - goodscode
  3427. - goodsid
  3428. - goodsname
  3429. - marketid
  3430. - trademode
  3431. type: object
  3432. models.HsbyPreGoodsDetail:
  3433. properties:
  3434. agreeunit:
  3435. description: 合约单位
  3436. type: number
  3437. buymaxqty:
  3438. description: 购买上限 [71] - 0为不限
  3439. type: integer
  3440. currency:
  3441. description: 货币
  3442. type: string
  3443. currencysign:
  3444. description: 货币符号
  3445. type: string
  3446. customername:
  3447. description: 发行单位
  3448. type: string
  3449. decimalplace:
  3450. description: 报价小数位
  3451. type: integer
  3452. desccityid:
  3453. description: 目的地(市)ID
  3454. type: integer
  3455. descprovinceid:
  3456. description: 目的地(省)ID
  3457. type: integer
  3458. enableqty:
  3459. description: 剩余数量
  3460. type: integer
  3461. goodscode:
  3462. description: 商品代码(内部)
  3463. type: string
  3464. goodsdesc:
  3465. description: 商品详情
  3466. type: string
  3467. goodsid:
  3468. description: 商品ID(自增ID SEQ_GOODS)
  3469. type: integer
  3470. goodsname:
  3471. description: 商品名称
  3472. type: string
  3473. goodsstatus:
  3474. description: 商品状态- 2:未上市 3:上市
  3475. type: integer
  3476. goodunit:
  3477. description: 报价单位
  3478. type: string
  3479. lasttradedate:
  3480. description: 最后交易日期(状态:待退市)
  3481. type: string
  3482. listingdate:
  3483. description: 交易开始日期
  3484. type: string
  3485. lotsize:
  3486. description: 手数最小变动单位
  3487. type: integer
  3488. marketid:
  3489. description: 所属市场ID
  3490. type: integer
  3491. picurls:
  3492. description: 介绍图片[多张用逗号分隔]
  3493. type: string
  3494. presaledqty:
  3495. description: 已预售量(预售结束时更新)
  3496. type: integer
  3497. presaleqty:
  3498. description: 预售数量
  3499. type: integer
  3500. quoteminunit:
  3501. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3502. type: integer
  3503. refprice:
  3504. description: 参考价格[一口价]
  3505. type: number
  3506. relatedgoodsid:
  3507. description: 关联交易合约ID
  3508. type: integer
  3509. stepvalue:
  3510. description: 价格最小变动单位
  3511. type: number
  3512. trademode:
  3513. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3514. 21:竞拍-大宗式 22:受托竞价
  3515. type: integer
  3516. vendorattr:
  3517. description: 供应商附件(多张,逗号分隔)
  3518. type: string
  3519. vendorname:
  3520. description: 供应商名称
  3521. type: string
  3522. vendorphone:
  3523. description: 供应商客服电话
  3524. type: string
  3525. videourls:
  3526. description: 介绍视频[多张用逗号分隔]
  3527. type: string
  3528. required:
  3529. - goodscode
  3530. - goodsid
  3531. - goodsname
  3532. - marketid
  3533. - trademode
  3534. type: object
  3535. models.HsbySellCollectionOrder:
  3536. properties:
  3537. agreeunit:
  3538. description: 合约单位
  3539. type: number
  3540. buyaccountid:
  3541. description: 买方账号ID[报价币种]
  3542. type: integer
  3543. buyorderid:
  3544. description: 买方委托单号
  3545. type: string
  3546. createtime:
  3547. description: 创建时间
  3548. type: string
  3549. currencysign:
  3550. description: 货币符号
  3551. type: string
  3552. decimalplace:
  3553. description: 报价小数位
  3554. type: integer
  3555. goodscode:
  3556. description: 商品代码(内部)
  3557. type: string
  3558. goodsid:
  3559. description: 商品ID
  3560. type: integer
  3561. goodsname:
  3562. description: 商品名称
  3563. type: string
  3564. marketid:
  3565. description: 市场ID
  3566. type: integer
  3567. offamount:
  3568. description: 优惠金额
  3569. type: number
  3570. payamount:
  3571. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  3572. type: number
  3573. payflag:
  3574. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  3575. type: integer
  3576. paylimitedtime:
  3577. description: 支付期限
  3578. type: string
  3579. paytime:
  3580. description: 付款时间
  3581. type: string
  3582. picurls:
  3583. description: 商品介绍图片[多张用逗号分隔]
  3584. type: string
  3585. sellaccountid:
  3586. description: 卖方账号ID[报价币种]
  3587. type: integer
  3588. sellorderid:
  3589. description: 卖方委托单号
  3590. type: string
  3591. tradeamount:
  3592. description: 成交金额
  3593. type: number
  3594. tradecharge:
  3595. description: 成交手续费(买方)
  3596. type: number
  3597. tradedate:
  3598. description: 交易日(yyyyMMdd)
  3599. type: string
  3600. tradeid:
  3601. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3602. type: string
  3603. trademode:
  3604. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3605. 21:竞拍-大宗式 22:受托竞价
  3606. type: integer
  3607. tradeprice:
  3608. description: 成交价格
  3609. type: number
  3610. tradeqty:
  3611. description: 成交数量
  3612. type: integer
  3613. required:
  3614. - goodscode
  3615. - goodsname
  3616. - tradeid
  3617. - trademode
  3618. type: object
  3619. models.HsbySellMyDetail:
  3620. properties:
  3621. accountid:
  3622. description: 账户ID[报价币种]
  3623. type: integer
  3624. agreeunit:
  3625. description: 合约单位
  3626. type: number
  3627. buyorsell:
  3628. description: 买卖 - 0:买 1:卖
  3629. type: integer
  3630. currencysign:
  3631. description: 货币符号
  3632. type: string
  3633. decimalplace:
  3634. description: 报价小数位
  3635. type: integer
  3636. goodscode:
  3637. description: 商品代码(内部)
  3638. type: string
  3639. goodsid:
  3640. description: 商品ID
  3641. type: integer
  3642. goodsname:
  3643. description: 商品名称
  3644. type: string
  3645. marketid:
  3646. description: 市场ID
  3647. type: integer
  3648. orderid:
  3649. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  3650. type: string
  3651. ordertype:
  3652. description: 单据类型:0 - 发布中, 1 - 已完成
  3653. type: integer
  3654. picurls:
  3655. description: 介绍图片[多张用逗号分隔]
  3656. type: string
  3657. price:
  3658. description: 价格
  3659. type: number
  3660. qty:
  3661. description: 数量
  3662. type: integer
  3663. time:
  3664. description: 时间
  3665. type: string
  3666. trademode:
  3667. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3668. 21:竞拍-大宗式 22:受托竞价
  3669. type: integer
  3670. vendorname:
  3671. description: 供应商名称
  3672. type: string
  3673. required:
  3674. - accountid
  3675. - buyorsell
  3676. - goodscode
  3677. - goodsid
  3678. - goodsname
  3679. - marketid
  3680. - orderid
  3681. - time
  3682. - trademode
  3683. type: object
  3684. models.HsbyTopGoods:
  3685. properties:
  3686. agreeunit:
  3687. description: 合约单位
  3688. type: number
  3689. currency:
  3690. description: 货币
  3691. type: string
  3692. currencysign:
  3693. description: 货币符号
  3694. type: string
  3695. decimalplace:
  3696. description: 报价小数位
  3697. type: integer
  3698. goodscode:
  3699. description: 商品代码(内部)
  3700. type: string
  3701. goodsid:
  3702. description: 商品ID(自增ID SEQ_GOODS)
  3703. type: integer
  3704. goodsname:
  3705. description: 商品名称
  3706. type: string
  3707. hotindex:
  3708. description: 景点热度
  3709. type: integer
  3710. last:
  3711. description: 现价
  3712. type: number
  3713. marketid:
  3714. description: 所属市场ID
  3715. type: integer
  3716. picurls:
  3717. description: 介绍图片[多张用逗号分隔]
  3718. type: string
  3719. quoteminunit:
  3720. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3721. type: integer
  3722. trademode:
  3723. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3724. 21:竞拍-大宗式 22:受托竞价
  3725. type: integer
  3726. videourls:
  3727. description: 介绍视频[多张用逗号分隔]
  3728. type: string
  3729. required:
  3730. - goodscode
  3731. - goodsid
  3732. - goodsname
  3733. - marketid
  3734. - trademode
  3735. type: object
  3736. models.HybsMyBuyOrderDetail:
  3737. properties:
  3738. accountid:
  3739. description: 账户ID[报价币种]
  3740. type: integer
  3741. agreeunit:
  3742. description: 合约单位
  3743. type: number
  3744. buyorsell:
  3745. description: 买卖 - 0:买 1:卖
  3746. type: integer
  3747. cancelqty:
  3748. description: 撤单数量
  3749. type: integer
  3750. currencysign:
  3751. description: 货币符号
  3752. type: string
  3753. decimalplace:
  3754. description: 报价小数位
  3755. type: integer
  3756. goodscode:
  3757. description: 商品代码(内部)
  3758. type: string
  3759. goodsid:
  3760. description: 商品ID
  3761. type: integer
  3762. goodsname:
  3763. description: 商品名称
  3764. type: string
  3765. listingselecttype:
  3766. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3767. type: integer
  3768. marketid:
  3769. description: 市场ID
  3770. type: integer
  3771. mybuystatus:
  3772. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  3773. type: integer
  3774. orderamount:
  3775. description: 委托金额
  3776. type: number
  3777. orderid:
  3778. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3779. type: string
  3780. orderprice:
  3781. description: 委托价格
  3782. type: number
  3783. orderqty:
  3784. description: 委托数量
  3785. type: integer
  3786. orderstatus:
  3787. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3788. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3789. 16:成交失败违约(荷兰式竞拍专用)
  3790. type: integer
  3791. ordertime:
  3792. description: 委托时间
  3793. type: string
  3794. picurls1:
  3795. description: 预售商品介绍图片[多张用逗号分隔]
  3796. type: string
  3797. picurls2:
  3798. description: 挂牌商品介绍图片[多张用逗号分隔]
  3799. type: string
  3800. trademode:
  3801. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3802. 21:竞拍-大宗式 22:受托竞价
  3803. type: integer
  3804. tradeqty:
  3805. description: 成交数量
  3806. type: integer
  3807. vendorname1:
  3808. description: 预售商品供应商名称
  3809. type: string
  3810. vendorname2:
  3811. description: 挂牌商品供应商名称
  3812. type: string
  3813. required:
  3814. - accountid
  3815. - buyorsell
  3816. - goodscode
  3817. - goodsid
  3818. - goodsname
  3819. - marketid
  3820. - orderid
  3821. - orderqty
  3822. - ordertime
  3823. - trademode
  3824. type: object
  3825. models.Marketrun:
  3826. properties:
  3827. afternexttradedate:
  3828. description: 下下交易日
  3829. type: string
  3830. clearquoteflag:
  3831. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  3832. type: integer
  3833. lastreckondate:
  3834. description: 最新交易日(结算成功)
  3835. type: string
  3836. machinedate:
  3837. description: 机器时间
  3838. type: string
  3839. manualflag:
  3840. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  3841. type: integer
  3842. marketid:
  3843. description: 市场ID
  3844. type: integer
  3845. nexttradedate:
  3846. description: 下一交易日
  3847. type: string
  3848. pretradedate:
  3849. description: 上一交易日
  3850. type: string
  3851. reckonflag:
  3852. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  3853. type: integer
  3854. runstatus:
  3855. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  3856. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  3857. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  3858. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  3859. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  3860. 62.今日免清算
  3861. type: integer
  3862. sectionid:
  3863. description: 时间段号[多时段时用]
  3864. type: integer
  3865. tradedate:
  3866. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  3867. type: string
  3868. tradedate2:
  3869. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  3870. type: string
  3871. updatetime:
  3872. description: 更新时间
  3873. type: string
  3874. required:
  3875. - marketid
  3876. - nexttradedate
  3877. - reckonflag
  3878. - runstatus
  3879. - tradedate
  3880. - tradedate2
  3881. type: object
  3882. models.Messageboard:
  3883. properties:
  3884. createtime:
  3885. description: 创建时间
  3886. type: string
  3887. message:
  3888. description: 留言信息
  3889. type: string
  3890. messageboardid:
  3891. description: 留言簿ID(SEQ_MessageBoard)
  3892. type: integer
  3893. userid:
  3894. description: 用户ID
  3895. type: integer
  3896. required:
  3897. - messageboardid
  3898. type: object
  3899. models.MyCoupon:
  3900. properties:
  3901. accountid:
  3902. description: 资金账户ID
  3903. type: integer
  3904. areauserid:
  3905. description: 所属机构
  3906. type: integer
  3907. conditionvalue:
  3908. description: 条件阈值(可为0)
  3909. type: number
  3910. couponcategroy:
  3911. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  3912. type: integer
  3913. couponname:
  3914. description: 优惠券名称
  3915. type: string
  3916. coupontypeid:
  3917. description: 优惠券类型ID
  3918. type: string
  3919. couponvalue:
  3920. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  3921. type: number
  3922. curfreezeqty:
  3923. description: 期末冻结数量
  3924. type: integer
  3925. curqty:
  3926. description: 期末数量
  3927. type: integer
  3928. isgeneral:
  3929. description: 是否通用券 - 0:否 1:是
  3930. type: integer
  3931. isunusable:
  3932. description: 是否不可用
  3933. type: boolean
  3934. limitedflag:
  3935. description: 是否指定商品 - 0:不限 1:限制
  3936. type: integer
  3937. limitedgoodsids:
  3938. description: 指定商品IDs[逗号分隔,前后加逗号]
  3939. type: string
  3940. orifreezeqty:
  3941. description: 期初冻结数量
  3942. type: integer
  3943. oriqty:
  3944. description: 期初数量
  3945. type: integer
  3946. reasontype:
  3947. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  3948. type: integer
  3949. todaydecrease:
  3950. description: 今日减少
  3951. type: integer
  3952. todayincrease:
  3953. description: 今日增加
  3954. type: integer
  3955. userid:
  3956. description: 用户ID
  3957. type: integer
  3958. userscope:
  3959. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  3960. type: string
  3961. required:
  3962. - accountid
  3963. - coupontypeid
  3964. type: object
  3965. models.MyCouponHold:
  3966. properties:
  3967. accountid:
  3968. description: 资金账户ID
  3969. type: integer
  3970. conditionvalue:
  3971. description: 条件阈值(可为0)
  3972. type: number
  3973. couponcategroy:
  3974. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  3975. type: integer
  3976. couponholdid:
  3977. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  3978. type: string
  3979. couponname:
  3980. description: 优惠券名称
  3981. type: string
  3982. coupontypeid:
  3983. description: 优惠券类型ID - SEQ_COUPONTYPE
  3984. type: string
  3985. couponvalue:
  3986. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  3987. type: number
  3988. createtime:
  3989. description: 创建时间
  3990. type: string
  3991. enddate:
  3992. description: 结束日期
  3993. type: string
  3994. giveapplyid:
  3995. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  3996. type: integer
  3997. holdstatus:
  3998. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  3999. type: integer
  4000. isgeneral:
  4001. description: 是否通用券 - 0:否 1:是
  4002. type: integer
  4003. limitedflag:
  4004. description: 是否指定商品 - 0:不限 1:限制
  4005. type: integer
  4006. limitedgoodsids:
  4007. description: 指定商品IDs[逗号分隔]
  4008. type: string
  4009. qty:
  4010. description: 数量(按1平铺)
  4011. type: integer
  4012. startdate:
  4013. description: 开始日期
  4014. type: string
  4015. userid:
  4016. description: 用户ID
  4017. type: integer
  4018. userscope:
  4019. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  4020. type: string
  4021. required:
  4022. - couponholdid
  4023. type: object
  4024. models.MyUsedCoupon:
  4025. properties:
  4026. accountid:
  4027. description: 资金账户ID(买方)
  4028. type: integer
  4029. conditionvalue:
  4030. description: 条件阈值(可为0)
  4031. type: number
  4032. couponcategroy:
  4033. description: 种类 - 1:现金券 2:折扣券
  4034. type: integer
  4035. couponname:
  4036. description: 优惠券名称
  4037. type: string
  4038. coupontypeid:
  4039. description: 优惠券类型ID(买方)
  4040. type: string
  4041. couponvalue:
  4042. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  4043. type: number
  4044. createtime:
  4045. description: 创建时间
  4046. type: string
  4047. goodsid:
  4048. description: 商品ID
  4049. type: integer
  4050. handlestatus:
  4051. description: 处理状态
  4052. type: integer
  4053. marketid:
  4054. description: 市场ID
  4055. type: integer
  4056. offamount:
  4057. description: 优惠金额
  4058. type: number
  4059. orderid:
  4060. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4061. type: string
  4062. sellaccountid:
  4063. description: 资金账户ID(卖方)
  4064. type: integer
  4065. tradeamount:
  4066. description: 成交金额
  4067. type: number
  4068. tradeid:
  4069. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4070. type: string
  4071. usedqty:
  4072. description: 使用数量
  4073. type: integer
  4074. required:
  4075. - coupontypeid
  4076. - orderid
  4077. type: object
  4078. models.OperationPrimaryMenu:
  4079. properties:
  4080. Children:
  4081. description: 二级功能菜单
  4082. items:
  4083. $ref: '#/definitions/models.OperationSecondaryMenu'
  4084. type: array
  4085. Key:
  4086. description: 菜单KEY
  4087. type: string
  4088. Label:
  4089. description: 菜单标题
  4090. type: string
  4091. type: object
  4092. models.OperationSecondaryMenu:
  4093. properties:
  4094. Key:
  4095. description: 菜单KEY
  4096. type: string
  4097. Label:
  4098. description: 菜单标题
  4099. type: string
  4100. TabList:
  4101. description: 三级功能菜单
  4102. items:
  4103. $ref: '#/definitions/models.OperationTabMenu'
  4104. type: array
  4105. type: object
  4106. models.OperationTabMenu:
  4107. properties:
  4108. Key:
  4109. description: 菜单KEY
  4110. type: string
  4111. Label:
  4112. description: 菜单标题
  4113. type: string
  4114. type: object
  4115. models.QuotePrimaryMenu:
  4116. properties:
  4117. Index:
  4118. description: 序号
  4119. type: integer
  4120. Key:
  4121. description: 键名
  4122. type: string
  4123. Name:
  4124. description: 菜单名称
  4125. type: string
  4126. SubMenus:
  4127. description: 子菜单
  4128. items:
  4129. $ref: '#/definitions/models.QuoteSecondaryMenu'
  4130. type: array
  4131. SubTitleType:
  4132. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  4133. type: integer
  4134. TradeModes:
  4135. description: 包含市场交易类型
  4136. type: string
  4137. type: object
  4138. models.QuoteSecondaryMenu:
  4139. properties:
  4140. ExExchangeCode:
  4141. description: 外部交易所代码
  4142. type: string
  4143. ExExchangeID:
  4144. description: 外部交易所ID
  4145. type: integer
  4146. GoodsGroupIDs:
  4147. description: 商品组ID列表
  4148. items:
  4149. type: integer
  4150. type: array
  4151. Index:
  4152. description: 序号
  4153. type: integer
  4154. MarketID:
  4155. description: 市场ID
  4156. type: integer
  4157. MenuTitle:
  4158. description: 菜单标题(市场名称或外部交易所名称)
  4159. type: string
  4160. TradeMode:
  4161. description: 交易模式
  4162. type: integer
  4163. type: object
  4164. models.SearchGoods:
  4165. properties:
  4166. goodscode:
  4167. description: 商品代码(内部)
  4168. type: string
  4169. goodsid:
  4170. description: 商品ID(自增ID SEQ_GOODS)
  4171. type: integer
  4172. goodsname:
  4173. description: 商品名称
  4174. type: string
  4175. marketid:
  4176. description: 所属市场ID
  4177. type: integer
  4178. marketname:
  4179. description: 市场名称
  4180. type: string
  4181. trademode:
  4182. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4183. 21:竞拍-大宗式 22:受托竞价
  4184. type: integer
  4185. required:
  4186. - goodscode
  4187. - goodsid
  4188. - goodsname
  4189. - marketid
  4190. - trademode
  4191. type: object
  4192. models.Szdz2imageconfig:
  4193. properties:
  4194. configid:
  4195. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  4196. type: integer
  4197. imagepath:
  4198. description: 图片
  4199. type: string
  4200. imagetype:
  4201. description: 类型 - 1:App首页轮播 2:我的
  4202. type: integer
  4203. sort:
  4204. description: 排序
  4205. type: integer
  4206. title:
  4207. description: 标题
  4208. type: string
  4209. url:
  4210. description: 链接
  4211. type: string
  4212. required:
  4213. - configid
  4214. type: object
  4215. models.Szdz3convertconfig:
  4216. properties:
  4217. canin:
  4218. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  4219. type: integer
  4220. canout:
  4221. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  4222. type: integer
  4223. converttype:
  4224. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  4225. 6:交易转花生米(不设置)
  4226. type: integer
  4227. createtime:
  4228. description: 创建时间
  4229. type: string
  4230. creatorid:
  4231. description: 创建人
  4232. type: integer
  4233. daymaxvalue:
  4234. description: 当日最大转入限制
  4235. type: number
  4236. freezedays:
  4237. description: 冻结天数 [5:花生米转交易]
  4238. type: integer
  4239. innergoodsid:
  4240. description: 内部商品ID[交易]
  4241. type: integer
  4242. inratio:
  4243. description: 目标值
  4244. type: integer
  4245. modifierid:
  4246. description: 修改人
  4247. type: integer
  4248. modifytime:
  4249. description: 修改时间
  4250. type: string
  4251. outergoodscode:
  4252. description: 外部商品代码[JD\PD]
  4253. type: string
  4254. outratio:
  4255. description: 源值
  4256. type: integer
  4257. pddecimalplace:
  4258. description: PD小数位
  4259. type: integer
  4260. timemaxvalue:
  4261. description: 单次最大转入限制
  4262. type: number
  4263. timeminvalue:
  4264. description: 单次最小转入限制
  4265. type: number
  4266. required:
  4267. - converttype
  4268. - innergoodsid
  4269. - outergoodscode
  4270. type: object
  4271. models.Szdz3searchwhitelist:
  4272. properties:
  4273. createtime:
  4274. description: 创建时间
  4275. type: string
  4276. creatorid:
  4277. description: 创建人
  4278. type: integer
  4279. modifierid:
  4280. description: 修改人
  4281. type: integer
  4282. modifytime:
  4283. description: 修改时间
  4284. type: string
  4285. userid:
  4286. description: 用户ID
  4287. type: integer
  4288. required:
  4289. - userid
  4290. type: object
  4291. models.Tablecolumnconfig:
  4292. properties:
  4293. aligntype:
  4294. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  4295. type: integer
  4296. autoid:
  4297. description: AutoID
  4298. type: integer
  4299. columnfield:
  4300. description: 列字段
  4301. type: string
  4302. columntitle:
  4303. description: 列Title
  4304. type: string
  4305. columnwidth:
  4306. description: 列宽
  4307. type: string
  4308. formatterstring:
  4309. description: 格式化字符
  4310. type: string
  4311. formattertype:
  4312. description: 格式化类型
  4313. type: string
  4314. groupname:
  4315. description: 表头分组名称
  4316. type: string
  4317. isshow:
  4318. description: 是否显示 - 0:不显示 1:显示
  4319. type: integer
  4320. needsummary:
  4321. description: 是否需要汇总 - 0:不需要 1:需要
  4322. type: integer
  4323. orderindex:
  4324. description: 顺序
  4325. type: integer
  4326. remark:
  4327. description: 备注
  4328. type: string
  4329. summarytype:
  4330. description: 汇总类型 - 1:加总 2:最后一个
  4331. type: integer
  4332. tablekey:
  4333. description: 列表Key
  4334. type: string
  4335. required:
  4336. - autoid
  4337. type: object
  4338. models.Useraccount:
  4339. properties:
  4340. accountname:
  4341. description: 账户名称(机构名称)
  4342. type: string
  4343. accountstatus:
  4344. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  4345. type: integer
  4346. auditremark:
  4347. description: 审核备注
  4348. type: string
  4349. audittime:
  4350. description: 审核时间
  4351. type: string
  4352. audituserid:
  4353. description: 审核人
  4354. type: integer
  4355. broker:
  4356. description: 所属经纪人ID
  4357. type: integer
  4358. canceltime:
  4359. description: 销户时间
  4360. type: string
  4361. canceluserid:
  4362. description: 销户人
  4363. type: integer
  4364. createtime:
  4365. description: 创建时间
  4366. type: string
  4367. creatorid:
  4368. description: 创建人
  4369. type: integer
  4370. hasauth:
  4371. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4372. type: integer
  4373. isanonymous:
  4374. description: 是否匿名下单 - 0:否 1:是
  4375. type: integer
  4376. maxinvestornum:
  4377. description: 最大用户数(经纪会员下投资者个数)
  4378. type: integer
  4379. memberuserid:
  4380. description: 所属会员ID
  4381. type: integer
  4382. modifierid:
  4383. description: 修改人
  4384. type: integer
  4385. modifyremark:
  4386. description: 变更备注
  4387. type: string
  4388. modifystatus:
  4389. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4390. type: integer
  4391. modifytime:
  4392. description: 修改时间
  4393. type: string
  4394. parentuserid:
  4395. description: 所属机构ID
  4396. type: integer
  4397. reckonaccountid:
  4398. description: 默认结算资金账号ID(机构分润使用) 作废
  4399. type: integer
  4400. refercount:
  4401. description: 推荐总人数
  4402. type: integer
  4403. refereeuserid:
  4404. description: 推荐人ID
  4405. type: integer
  4406. refernum:
  4407. description: 推荐码
  4408. type: string
  4409. subarealevelpath:
  4410. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4411. type: string
  4412. userid:
  4413. description: 用户ID
  4414. type: integer
  4415. usertype:
  4416. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  4417. type: integer
  4418. required:
  4419. - userid
  4420. type: object
  4421. models.Userfavoritegoods:
  4422. properties:
  4423. goodsid:
  4424. description: 商品ID
  4425. type: integer
  4426. required:
  4427. - goodsid
  4428. type: object
  4429. models.Userinfo:
  4430. properties:
  4431. address:
  4432. description: 地址
  4433. type: string
  4434. attachment1:
  4435. description: 附件1
  4436. type: string
  4437. attachment2:
  4438. description: 附件2
  4439. type: string
  4440. bankaccount:
  4441. description: 银行帐号 (加密存储)
  4442. type: string
  4443. bankaccountname:
  4444. description: 收款人名称
  4445. type: string
  4446. bankcardfrontphotourl:
  4447. description: 银行卡正面照地址
  4448. type: string
  4449. bankid:
  4450. description: 银行编码
  4451. type: string
  4452. bankname:
  4453. description: 银行名称
  4454. type: string
  4455. biznature:
  4456. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4457. type: integer
  4458. bizscope:
  4459. description: 企业经营范围(企业)
  4460. type: string
  4461. cardbackphotourl:
  4462. description: 证件背面图片地址
  4463. type: string
  4464. cardfrontphotourl:
  4465. description: 证件正面图片地址
  4466. type: string
  4467. cardnum:
  4468. description: 证件号码(加密存储)
  4469. type: string
  4470. cardtypeid:
  4471. description: 证件类型ID
  4472. type: integer
  4473. cityid:
  4474. description: 市
  4475. type: integer
  4476. company:
  4477. description: 公司(个人)
  4478. type: string
  4479. contactname:
  4480. description: 联系人
  4481. type: string
  4482. countryid:
  4483. description: 国家
  4484. type: integer
  4485. createtime:
  4486. description: 创建时间
  4487. type: string
  4488. creatorid:
  4489. description: 创建人
  4490. type: integer
  4491. customername:
  4492. description: 客户名称(企业名称)
  4493. type: string
  4494. districtid:
  4495. description: 地区
  4496. type: integer
  4497. email:
  4498. description: 邮件(加密存储)
  4499. type: string
  4500. fax:
  4501. description: 传真(加密存储)
  4502. type: string
  4503. halfbodyphotourl:
  4504. description: 半身照地址
  4505. type: string
  4506. hasencrypt:
  4507. description: 数据是否已加密 - 0:未加密 1:已加密
  4508. type: integer
  4509. headurl:
  4510. description: 头像地址
  4511. type: string
  4512. legalcardbackphotourl:
  4513. description: 法人身份证背面照地址
  4514. type: string
  4515. legalcardfrontphotourl:
  4516. description: 法人身份证正面照地址
  4517. type: string
  4518. legalpersonname:
  4519. description: 法人姓名(企业)
  4520. type: string
  4521. mobile:
  4522. description: 手机号码(加密存储)
  4523. type: string
  4524. mobile2:
  4525. description: 手机号码[明文-尚志]
  4526. type: string
  4527. modifierid:
  4528. description: 修改人
  4529. type: integer
  4530. modifiertime:
  4531. description: 修改时间
  4532. type: string
  4533. needinvoice:
  4534. description: 是否需要发票 - 0:不需要 1:需要
  4535. type: integer
  4536. nickname:
  4537. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  4538. type: string
  4539. openmode:
  4540. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  4541. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  4542. type: integer
  4543. otherurl:
  4544. description: 其它图片地址[使用分号分隔]
  4545. type: string
  4546. postalcode:
  4547. description: 邮政编码
  4548. type: string
  4549. provinceid:
  4550. description: 省
  4551. type: integer
  4552. qq:
  4553. description: QQ(加密存储
  4554. type: string
  4555. remark:
  4556. description: 备注
  4557. type: string
  4558. sex:
  4559. description: '用户性别 0: 女 1: 男'
  4560. type: integer
  4561. signpdfurl:
  4562. description: 签约pdf文件
  4563. type: string
  4564. telphone:
  4565. description: 联系电话(加密存储)
  4566. type: string
  4567. userid:
  4568. description: 用户ID
  4569. type: integer
  4570. userinfotype:
  4571. description: 用户信息类型 - 1:个人 2:企业
  4572. type: integer
  4573. userstatus:
  4574. description: 用户状态 - 1:正常 2:注销
  4575. type: integer
  4576. usertype:
  4577. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  4578. type: integer
  4579. wechat:
  4580. description: 微信(加密存储)
  4581. type: string
  4582. wskhinfo:
  4583. description: 开户申请信息(JSON)
  4584. type: string
  4585. required:
  4586. - userid
  4587. type: object
  4588. models.WRCategoryTree:
  4589. properties:
  4590. areauserid:
  4591. description: 所属机构
  4592. type: integer
  4593. categorydesc:
  4594. description: 类别描述
  4595. type: string
  4596. categoryid:
  4597. description: 类别ID(SEQ_WRCATEGORY)
  4598. type: integer
  4599. categoryname:
  4600. description: 类别名称
  4601. type: string
  4602. iconurl:
  4603. description: 图标地址
  4604. type: string
  4605. orderindex:
  4606. description: 顺序
  4607. type: integer
  4608. parentcategoryid:
  4609. description: 父类别ID
  4610. type: integer
  4611. subcategory:
  4612. description: 子分类
  4613. items:
  4614. $ref: '#/definitions/models.WRCategoryTree'
  4615. type: array
  4616. required:
  4617. - categoryid
  4618. type: object
  4619. models.WRStandardInfo:
  4620. properties:
  4621. createtime:
  4622. description: 创建时间
  4623. type: string
  4624. creatorid:
  4625. description: 创建人
  4626. type: integer
  4627. deliverygoodsid:
  4628. description: 品种ID
  4629. type: integer
  4630. deliverygoodsname:
  4631. description: 交割商品名称
  4632. type: string
  4633. factoryitemjson:
  4634. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  4635. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  4636. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  4637. 逗号分隔'
  4638. type: string
  4639. isvalid:
  4640. description: 是否有效 - 0:无效 1:有效
  4641. type: integer
  4642. minivalue:
  4643. description: 最小变动值
  4644. type: integer
  4645. minivaluedp:
  4646. description: 最小变动值小数位
  4647. type: integer
  4648. realminivalue:
  4649. description: 实际最小变动值
  4650. type: integer
  4651. realminivaluedp:
  4652. description: 实际最小变动值小数位
  4653. type: integer
  4654. unitid:
  4655. description: 单位ID
  4656. type: integer
  4657. unitname:
  4658. description: 单位
  4659. type: string
  4660. updatetime:
  4661. description: 更新时间
  4662. type: string
  4663. updatorid:
  4664. description: 更新人
  4665. type: integer
  4666. wrsstatus:
  4667. description: 状态 - 作废 - 0:未激活 1:正常
  4668. type: integer
  4669. wrstandardcode:
  4670. description: 仓单标准代码
  4671. type: string
  4672. wrstandardid:
  4673. description: 仓单标准ID(SEQ_WRSTANDARD)
  4674. type: integer
  4675. wrstandardname:
  4676. description: 仓单标准名称
  4677. type: string
  4678. required:
  4679. - wrstandardid
  4680. type: object
  4681. models.Warehouseinfo:
  4682. properties:
  4683. address:
  4684. description: 详细地址
  4685. type: string
  4686. areauserid:
  4687. description: 所属机构
  4688. type: integer
  4689. autoid:
  4690. description: 自增ID
  4691. type: integer
  4692. cityid:
  4693. description: 市
  4694. type: integer
  4695. contactname:
  4696. description: 联系人
  4697. type: string
  4698. contactnum:
  4699. description: 联系电话
  4700. type: string
  4701. countryid:
  4702. description: 国家
  4703. type: integer
  4704. createtime:
  4705. description: 创建时间
  4706. type: string
  4707. districtid:
  4708. description: 区
  4709. type: integer
  4710. hasvideo:
  4711. description: 是否有视频 - 0:无 1:有
  4712. type: integer
  4713. provinceid:
  4714. description: 省
  4715. type: integer
  4716. remark:
  4717. description: 审核备注
  4718. type: string
  4719. videourl:
  4720. description: 视频地址
  4721. type: string
  4722. warehousecode:
  4723. description: 仓库代码
  4724. type: string
  4725. warehousename:
  4726. description: 仓库名称
  4727. type: string
  4728. warehousestatus:
  4729. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4730. type: integer
  4731. warehousetype:
  4732. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4733. type: integer
  4734. required:
  4735. - autoid
  4736. - warehousecode
  4737. type: object
  4738. order.QueryHisTradeDetailRsp:
  4739. properties:
  4740. accountid:
  4741. description: 账户ID[报价币种]
  4742. type: integer
  4743. buildtype:
  4744. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  4745. type: integer
  4746. buyorsell:
  4747. description: 方向 - 0:买 1:卖
  4748. type: integer
  4749. charge:
  4750. description: 手续费
  4751. type: number
  4752. closecharge:
  4753. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4754. type: number
  4755. closeexchagechargevalue:
  4756. description: 平仓交易所手续费设置值
  4757. type: number
  4758. closefeealgorithm:
  4759. description: 平仓手续费收取方式 1:比率 2:固定
  4760. type: integer
  4761. closememberchargevalue:
  4762. description: 平仓会员手续费设置值
  4763. type: number
  4764. closepl:
  4765. description: 平仓盈亏
  4766. type: number
  4767. closepl2:
  4768. description: 平仓盈亏[逐笔]
  4769. type: number
  4770. closeqty:
  4771. description: 平仓数量(先建后平操作 需要记录)
  4772. type: integer
  4773. creditamount:
  4774. description: 授信金额
  4775. type: number
  4776. gcaccountid:
  4777. description: 账户ID[合约币种]
  4778. type: integer
  4779. goodscode:
  4780. description: 商品代码
  4781. type: string
  4782. goodsid:
  4783. description: 商品ID
  4784. type: integer
  4785. goodsname:
  4786. description: 商品名称
  4787. type: string
  4788. histradedate:
  4789. description: 历史交易日
  4790. type: string
  4791. intclosepl:
  4792. description: 整型盈亏(用于交易结算试算平衡-收益权)
  4793. type: integer
  4794. isconfirmexercise:
  4795. description: 是否确认行权- 0:否 1:是
  4796. type: integer
  4797. ismain:
  4798. description: 是否主单 - 0:不是 1:是
  4799. type: integer
  4800. ispreexercise:
  4801. description: 是否预申报- 0:否 1:是
  4802. type: integer
  4803. isreckoned:
  4804. description: 是否结算 - 0:未结算 1:已结算
  4805. type: integer
  4806. isvaliddata:
  4807. description: 是否有效 - 0:无效 1:有效
  4808. type: integer
  4809. listingselecttype:
  4810. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4811. type: integer
  4812. marketid:
  4813. description: 市场ID
  4814. type: integer
  4815. marketname:
  4816. description: 市场名称
  4817. type: string
  4818. matchaccountid:
  4819. description: 对手账号id
  4820. type: integer
  4821. memberuserid:
  4822. description: 会员id 个人投资者 需要填写
  4823. type: integer
  4824. opencharge:
  4825. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4826. type: number
  4827. openexchagechargevalue:
  4828. description: 建仓交易所手续费设置值
  4829. type: number
  4830. openfeealgorithm:
  4831. description: 建仓手续费收取方式 1:比率 2:固定
  4832. type: integer
  4833. openmemberchargevalue:
  4834. description: 建仓会员手续费设置值
  4835. type: number
  4836. openqty:
  4837. description: 开仓数量(先建后平操作 需要记录)
  4838. type: integer
  4839. optiontype:
  4840. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4841. type: integer
  4842. orderid:
  4843. description: 委托单号
  4844. type: string
  4845. performanceplanid:
  4846. description: 履约计划ID[期权]
  4847. type: integer
  4848. performancestatus:
  4849. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4850. type: integer
  4851. preexerciseprice:
  4852. description: 预申报价格
  4853. type: number
  4854. premium:
  4855. description: 权利金 - [持仓单的权利金]
  4856. type: number
  4857. relatedouttradeid:
  4858. description: 关联外部成交单ID
  4859. type: integer
  4860. status:
  4861. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4862. type: integer
  4863. tradeamount:
  4864. description: 成交金额[账户币种,用于所有权]
  4865. type: number
  4866. tradedate:
  4867. description: 交易日(yyyyMMdd)
  4868. type: string
  4869. tradeid:
  4870. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4871. type: string
  4872. trademode:
  4873. description: 交易模式
  4874. type: integer
  4875. tradeprice:
  4876. description: 成交价格
  4877. type: number
  4878. tradeproperty:
  4879. description: 交易属性
  4880. type: integer
  4881. tradeqty:
  4882. description: 成交数量
  4883. type: integer
  4884. tradetime:
  4885. description: 成交时间
  4886. type: string
  4887. tradetype:
  4888. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4889. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4890. type: integer
  4891. required:
  4892. - accountid
  4893. - buyorsell
  4894. - goodsid
  4895. - histradedate
  4896. - marketid
  4897. - memberuserid
  4898. - orderid
  4899. - tradeamount
  4900. - tradedate
  4901. - tradeid
  4902. - tradeprice
  4903. - tradeqty
  4904. - tradetime
  4905. type: object
  4906. order.QueryHisTradeOrderDetailRsp:
  4907. properties:
  4908. accountid:
  4909. description: 账户ID[报价币种]
  4910. type: integer
  4911. buildtype:
  4912. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  4913. type: integer
  4914. buyorsell:
  4915. description: 买卖 - 0:买 1:卖
  4916. type: integer
  4917. cancelorderid:
  4918. description: 撤单单号(撤单时填写)
  4919. type: string
  4920. cancelqty:
  4921. description: 撤单数量
  4922. type: integer
  4923. clientordertime:
  4924. description: 客户端委托时间
  4925. type: string
  4926. clientticket:
  4927. description: 客户端流水号
  4928. type: string
  4929. clienttype:
  4930. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  4931. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  4932. type: integer
  4933. closeexchagechargevalue:
  4934. description: 平仓交易所手续费设置值
  4935. type: number
  4936. closefeealgorithm:
  4937. description: 平仓手续费收取方式 1:比率 2:固定
  4938. type: integer
  4939. closefreezecharge:
  4940. description: 平仓冻结手续费(先建后平操作,需要记录)
  4941. type: number
  4942. closememberchargevalue:
  4943. description: 平仓会员手续费设置值
  4944. type: number
  4945. closeqty:
  4946. description: 平仓数量(先建后平操作 需要记录)
  4947. type: integer
  4948. closetradeqty:
  4949. description: 平仓成交数量(先建后平操作,需要记录)
  4950. type: integer
  4951. closeunfreezecharge:
  4952. description: 平仓解冻手续费(先建后平操作,需要记录)
  4953. type: number
  4954. delistingtype:
  4955. description: 摘牌类型 - 1:价格最优 2:点选成交
  4956. type: integer
  4957. freezecharge:
  4958. description: 冻结手续费
  4959. type: number
  4960. freezemargin:
  4961. description: 冻结保证金(冻结交易金额)
  4962. type: number
  4963. gcaccountid:
  4964. description: 账户ID[合约币种]
  4965. type: integer
  4966. goodscode:
  4967. description: 商品代码
  4968. type: string
  4969. goodsid:
  4970. description: 商品ID
  4971. type: integer
  4972. goodsname:
  4973. description: 商品名称
  4974. type: string
  4975. histradedate:
  4976. description: 历史交易日
  4977. type: string
  4978. isconfirmexercise:
  4979. description: 是否确认行权- 0:否 1:是
  4980. type: integer
  4981. ispreexercise:
  4982. description: 是否预申报- 0:否 1:是
  4983. type: integer
  4984. isvaliddata:
  4985. description: 是否有效 - 0:无效 1:有效
  4986. type: integer
  4987. listingselecttype:
  4988. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4989. type: integer
  4990. marginalgorithm:
  4991. description: 保证金收取方式 1:比率 2:固定
  4992. type: integer
  4993. marginvalue:
  4994. description: 即市保证金设置值
  4995. type: number
  4996. marketid:
  4997. description: 市场ID
  4998. type: integer
  4999. marketmaxsub:
  5000. description: 市价最大偏移范围
  5001. type: number
  5002. marketname:
  5003. description: 市场名称
  5004. type: string
  5005. memberuserid:
  5006. description: 所属会员UserID
  5007. type: integer
  5008. openexchagechargevalue:
  5009. description: 建仓交易所手续费设置值
  5010. type: number
  5011. openfeealgorithm:
  5012. description: 建仓手续费收取方式 1:比率 2:固定
  5013. type: integer
  5014. openfreezecharge:
  5015. description: 开仓冻结手续费(先建后平操作,需要记录)
  5016. type: number
  5017. openmemberchargevalue:
  5018. description: 建仓会员手续费设置值
  5019. type: number
  5020. openqty:
  5021. description: 开仓数量(先建后平操作,需要记录)
  5022. type: integer
  5023. opentradeqty:
  5024. description: 开仓成交数量(先建后平操作,需要记录)
  5025. type: integer
  5026. openunfreezecharge:
  5027. description: 开仓解冻手续费(先建后平操作,需要记录)
  5028. type: number
  5029. operatetype:
  5030. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  5031. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  5032. 15:管理端协议转让
  5033. type: integer
  5034. operatorid:
  5035. description: 登录账号(LoginID)
  5036. type: integer
  5037. optiontype:
  5038. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5039. type: integer
  5040. orderid:
  5041. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5042. type: string
  5043. orderprice:
  5044. description: 委托价格
  5045. type: number
  5046. orderqty:
  5047. description: 委托数量
  5048. type: integer
  5049. ordersrc:
  5050. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  5051. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  5052. type: integer
  5053. orderstatus:
  5054. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5055. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5056. 16:成交失败违约(荷兰式竞拍专用)
  5057. type: integer
  5058. ordertime:
  5059. description: 委托时间
  5060. type: string
  5061. preexerciseprice:
  5062. description: 预申报价格
  5063. type: number
  5064. premium:
  5065. description: 权利金
  5066. type: number
  5067. preorderid:
  5068. description: 关联预埋单号(止盈止损单时填写)
  5069. type: string
  5070. pricemode:
  5071. description: '取价方式 - 1:市价 2: 限价'
  5072. type: integer
  5073. quoteid:
  5074. description: 报价单ID
  5075. type: integer
  5076. relatedid:
  5077. description: 关联单号(交割单)
  5078. type: string
  5079. retcode:
  5080. description: 错误代码
  5081. type: integer
  5082. sessionid:
  5083. description: 会话ID
  5084. type: integer
  5085. tradedate:
  5086. description: 交易日(yyyyMMdd)
  5087. type: string
  5088. trademode:
  5089. description: 交易模式
  5090. type: integer
  5091. tradeproperty:
  5092. description: 交易属性
  5093. type: integer
  5094. tradeqty:
  5095. description: 成交数量
  5096. type: integer
  5097. unfreezecharge:
  5098. description: 解冻手续费
  5099. type: number
  5100. unfreezemargin:
  5101. description: 解冻保证金
  5102. type: number
  5103. updatetime:
  5104. description: 更新时间
  5105. type: string
  5106. uuid:
  5107. description: 发起端唯一id
  5108. type: string
  5109. validtime:
  5110. description: 有效期限
  5111. type: string
  5112. validtype:
  5113. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5114. type: integer
  5115. volumetype:
  5116. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5117. type: integer
  5118. required:
  5119. - accountid
  5120. - buildtype
  5121. - buyorsell
  5122. - goodsid
  5123. - histradedate
  5124. - marketid
  5125. - memberuserid
  5126. - operatetype
  5127. - orderid
  5128. - orderqty
  5129. - ordertime
  5130. - pricemode
  5131. - tradedate
  5132. - validtype
  5133. type: object
  5134. order.QueryTradeDetailRsp:
  5135. properties:
  5136. accountid:
  5137. description: 账户ID[报价币种]
  5138. type: integer
  5139. buildtype:
  5140. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  5141. type: integer
  5142. buyorsell:
  5143. description: 方向 - 0:买 1:卖
  5144. type: integer
  5145. charge:
  5146. description: 手续费
  5147. type: number
  5148. closecharge:
  5149. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5150. type: number
  5151. closeexchagechargevalue:
  5152. description: 平仓交易所手续费设置值
  5153. type: number
  5154. closefeealgorithm:
  5155. description: 平仓手续费收取方式 1:比率 2:固定
  5156. type: integer
  5157. closememberchargevalue:
  5158. description: 平仓会员手续费设置值
  5159. type: number
  5160. closepl:
  5161. description: 平仓盈亏
  5162. type: number
  5163. closepl2:
  5164. description: 平仓盈亏[逐笔]
  5165. type: number
  5166. closeqty:
  5167. description: 平仓数量(先建后平操作 需要记录)
  5168. type: integer
  5169. creditamount:
  5170. description: 授信金额
  5171. type: number
  5172. gcaccountid:
  5173. description: 账户ID[合约币种]
  5174. type: integer
  5175. goodscode:
  5176. description: 商品代码
  5177. type: string
  5178. goodsid:
  5179. description: 商品ID
  5180. type: integer
  5181. goodsname:
  5182. description: 商品名称
  5183. type: string
  5184. intclosepl:
  5185. description: 整型盈亏(用于交易结算试算平衡-收益权)
  5186. type: integer
  5187. isconfirmexercise:
  5188. description: 是否确认行权- 0:否 1:是
  5189. type: integer
  5190. ismain:
  5191. description: 是否主单 - 0:不是 1:是
  5192. type: integer
  5193. ispreexercise:
  5194. description: 是否预申报- 0:否 1:是
  5195. type: integer
  5196. isreckoned:
  5197. description: 是否结算 - 0:未结算 1:已结算
  5198. type: integer
  5199. listingselecttype:
  5200. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5201. type: integer
  5202. marketid:
  5203. description: 市场ID
  5204. type: integer
  5205. marketname:
  5206. description: 市场名称
  5207. type: string
  5208. matchaccountid:
  5209. description: 对手账号id
  5210. type: integer
  5211. memberuserid:
  5212. description: 会员id 个人投资者 需要填写
  5213. type: integer
  5214. opencharge:
  5215. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5216. type: number
  5217. openexchagechargevalue:
  5218. description: 建仓交易所手续费设置值
  5219. type: number
  5220. openfeealgorithm:
  5221. description: 建仓手续费收取方式 1:比率 2:固定
  5222. type: integer
  5223. openmemberchargevalue:
  5224. description: 建仓会员手续费设置值
  5225. type: number
  5226. openqty:
  5227. description: 开仓数量(先建后平操作 需要记录)
  5228. type: integer
  5229. optiontype:
  5230. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5231. type: integer
  5232. orderid:
  5233. description: 委托单号
  5234. type: string
  5235. performanceplanid:
  5236. description: 履约计划ID[期权]
  5237. type: integer
  5238. performancestatus:
  5239. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  5240. type: integer
  5241. preexerciseprice:
  5242. description: 预申报价格
  5243. type: number
  5244. premium:
  5245. description: 权利金 - [持仓单的权利金]
  5246. type: number
  5247. relatedouttradeid:
  5248. description: 关联外部成交单ID
  5249. type: integer
  5250. status:
  5251. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  5252. type: integer
  5253. tradeamount:
  5254. description: 成交金额[账户币种,用于所有权]
  5255. type: number
  5256. tradedate:
  5257. description: 交易日(yyyyMMdd)
  5258. type: string
  5259. tradeid:
  5260. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5261. type: string
  5262. trademode:
  5263. description: 交易模式
  5264. type: integer
  5265. tradeprice:
  5266. description: 成交价格
  5267. type: number
  5268. tradeproperty:
  5269. description: 交易属性
  5270. type: integer
  5271. tradeqty:
  5272. description: 成交数量
  5273. type: integer
  5274. tradetime:
  5275. description: 成交时间
  5276. type: string
  5277. tradetype:
  5278. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  5279. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  5280. type: integer
  5281. required:
  5282. - accountid
  5283. - buyorsell
  5284. - goodsid
  5285. - marketid
  5286. - memberuserid
  5287. - orderid
  5288. - tradeamount
  5289. - tradedate
  5290. - tradeid
  5291. - tradeprice
  5292. - tradeqty
  5293. - tradetime
  5294. type: object
  5295. order.QueryTradeOrderDetailRsp:
  5296. properties:
  5297. accountid:
  5298. description: 账户ID[报价币种]
  5299. type: integer
  5300. buildtype:
  5301. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  5302. type: integer
  5303. buyorsell:
  5304. description: 买卖 - 0:买 1:卖
  5305. type: integer
  5306. cancelorderid:
  5307. description: 撤单单号(撤单时填写)
  5308. type: string
  5309. cancelqty:
  5310. description: 撤单数量
  5311. type: integer
  5312. clienttype:
  5313. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  5314. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  5315. type: integer
  5316. closefreezecharge:
  5317. description: 平仓冻结手续费(先建后平操作,需要记录)
  5318. type: number
  5319. closeqty:
  5320. description: 平仓数量(先建后平操作 需要记录)
  5321. type: integer
  5322. closetradeqty:
  5323. description: 平仓成交数量(先建后平操作,需要记录)
  5324. type: integer
  5325. closeunfreezecharge:
  5326. description: 平仓解冻手续费(先建后平操作,需要记录)
  5327. type: number
  5328. delistingtype:
  5329. description: 摘牌类型 - 1:价格最优 2:点选成交
  5330. type: integer
  5331. enableqty:
  5332. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  5333. type: integer
  5334. freezecharge:
  5335. description: 冻结手续费
  5336. type: number
  5337. freezemargin:
  5338. description: 冻结保证金(冻结交易金额)
  5339. type: number
  5340. goodscode:
  5341. description: 商品代码
  5342. type: string
  5343. goodsid:
  5344. description: 商品ID
  5345. type: integer
  5346. goodsname:
  5347. description: 商品名称
  5348. type: string
  5349. listingselecttype:
  5350. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5351. type: integer
  5352. marketid:
  5353. description: 市场ID
  5354. type: integer
  5355. marketname:
  5356. description: 市场名称
  5357. type: string
  5358. openfreezecharge:
  5359. description: 开仓冻结手续费(先建后平操作,需要记录)
  5360. type: number
  5361. openqty:
  5362. description: 开仓数量(先建后平操作,需要记录)
  5363. type: integer
  5364. opentradeqty:
  5365. description: 开仓成交数量(先建后平操作,需要记录)
  5366. type: integer
  5367. openunfreezecharge:
  5368. description: 开仓解冻手续费(先建后平操作,需要记录)
  5369. type: number
  5370. operatetype:
  5371. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  5372. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  5373. 15:管理端协议转让
  5374. type: integer
  5375. operatorid:
  5376. description: 登录账号(LoginID)
  5377. type: integer
  5378. orderid:
  5379. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5380. type: string
  5381. orderprice:
  5382. description: 委托价格
  5383. type: number
  5384. orderqty:
  5385. description: 委托数量
  5386. type: integer
  5387. ordersrc:
  5388. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  5389. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  5390. type: integer
  5391. orderstatus:
  5392. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5393. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5394. 16:成交失败违约(荷兰式竞拍专用)
  5395. type: integer
  5396. ordertime:
  5397. description: 委托时间
  5398. type: string
  5399. preorderid:
  5400. description: 关联预埋单号(止盈止损单时填写)
  5401. type: string
  5402. pricemode:
  5403. description: '取价方式 - 1:市价 2: 限价'
  5404. type: integer
  5405. relatedid:
  5406. description: 关联单号(交割单)
  5407. type: string
  5408. tradedate:
  5409. description: 交易日(yyyyMMdd)
  5410. type: string
  5411. trademode:
  5412. description: 交易模式
  5413. type: integer
  5414. tradeqty:
  5415. description: 成交数量
  5416. type: integer
  5417. unfreezecharge:
  5418. description: 解冻手续费
  5419. type: number
  5420. unfreezemargin:
  5421. description: 解冻保证金
  5422. type: number
  5423. validtime:
  5424. description: 有效期限
  5425. type: string
  5426. validtype:
  5427. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5428. type: integer
  5429. volumetype:
  5430. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5431. type: integer
  5432. required:
  5433. - accountid
  5434. - buildtype
  5435. - buyorsell
  5436. - goodsid
  5437. - marketid
  5438. - operatetype
  5439. - orderqty
  5440. - ordertime
  5441. - pricemode
  5442. - tradedate
  5443. - validtype
  5444. type: object
  5445. order.QueryTradePositionRsp:
  5446. properties:
  5447. accountid:
  5448. description: 资金账户
  5449. type: integer
  5450. agreeunit:
  5451. description: 合约单位
  5452. type: number
  5453. averageprice:
  5454. description: 持仓均价
  5455. type: number
  5456. buyorsell:
  5457. description: 方向 - 0:买 1:卖
  5458. type: integer
  5459. closetotalqty:
  5460. description: 平仓总数量
  5461. type: integer
  5462. curholderamount:
  5463. description: 当前持仓总金额[商品币种]
  5464. type: number
  5465. curpositionqty:
  5466. description: 当前持仓总数量
  5467. type: integer
  5468. currencyid:
  5469. description: 报价货币ID
  5470. type: integer
  5471. curtdposition:
  5472. description: 期末今日头寸
  5473. type: integer
  5474. decimalplace:
  5475. description: 报价小数位
  5476. type: integer
  5477. enableqty:
  5478. description: 可用量
  5479. type: integer
  5480. fretdposition:
  5481. description: 冻结今日头寸
  5482. type: integer
  5483. frozenqty:
  5484. description: 持仓冻结数量
  5485. type: integer
  5486. goodscode:
  5487. description: 商品代码
  5488. type: string
  5489. goodsid:
  5490. description: 商品Id
  5491. type: integer
  5492. goodsname:
  5493. description: 商品名称
  5494. type: string
  5495. goodunit:
  5496. description: 报价单位
  5497. type: string
  5498. goodunitid:
  5499. description: 报价单位ID
  5500. type: integer
  5501. holderamount:
  5502. description: 期初持仓总金额[商品币种]
  5503. type: number
  5504. marketid:
  5505. description: 所属市场ID
  5506. type: integer
  5507. openreqqty:
  5508. description: 开仓申请数量(用于比较最大持仓数量)
  5509. type: integer
  5510. opentotalqty:
  5511. description: 开仓总数量
  5512. type: integer
  5513. otherfrozenqty:
  5514. description: 持仓其他冻结数量(交割冻结)
  5515. type: integer
  5516. positionqty:
  5517. description: 期初持仓数量
  5518. type: integer
  5519. tnqty:
  5520. description: T+N冻结总量
  5521. type: integer
  5522. tnusedqty:
  5523. description: T+N使用量(可以使用T+N的冻结数量)
  5524. type: integer
  5525. trademode:
  5526. description: 交易模式
  5527. type: integer
  5528. usedmargin:
  5529. description: 占用保证金[商品币种]
  5530. type: number
  5531. required:
  5532. - goodsid
  5533. type: object
  5534. quote.HistoryData:
  5535. properties:
  5536. c:
  5537. description: 收盘价
  5538. type: number
  5539. h:
  5540. description: 最高价
  5541. type: number
  5542. hv:
  5543. description: 持仓量
  5544. type: integer
  5545. l:
  5546. description: 最低价
  5547. type: number
  5548. o:
  5549. description: 开盘价
  5550. type: number
  5551. s:
  5552. description: 结算价,日线周期(包括)以上才有
  5553. type: number
  5554. ts:
  5555. description: 时间
  5556. type: string
  5557. tt:
  5558. description: 总金额
  5559. type: number
  5560. tv:
  5561. description: 总量
  5562. type: integer
  5563. type: object
  5564. quote.QueryTSDataRsp:
  5565. properties:
  5566. decimalPlace:
  5567. description: 小数位
  5568. type: integer
  5569. endTime:
  5570. description: 结束时间
  5571. type: string
  5572. goodsCode:
  5573. description: 商品代码
  5574. type: string
  5575. historyDatas:
  5576. description: 历史数据
  5577. items:
  5578. $ref: '#/definitions/quote.HistoryData'
  5579. type: array
  5580. preSettle:
  5581. description: 昨结
  5582. type: number
  5583. startTime:
  5584. description: 开始时间
  5585. type: string
  5586. tradeDate:
  5587. description: 交易日
  5588. type: string
  5589. type: object
  5590. szdz.QueryConvertLogRsp:
  5591. properties:
  5592. accountid:
  5593. description: 资金账户ID
  5594. type: integer
  5595. clientticket:
  5596. description: 客户端流水号
  5597. type: string
  5598. converttype:
  5599. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  5600. type: integer
  5601. createtime:
  5602. description: 记账时间
  5603. type: string
  5604. daymaxvalue:
  5605. description: 配置当日最大转入限制
  5606. type: number
  5607. daymaxvalue2:
  5608. description: 配置当日最大转入限制(转入)
  5609. type: number
  5610. goodscode:
  5611. description: 商品代码
  5612. type: string
  5613. goodsname:
  5614. description: 商品名称
  5615. type: string
  5616. handlestatus:
  5617. description: 处理状态
  5618. type: integer
  5619. innergoodsid:
  5620. description: 内部商品ID
  5621. type: integer
  5622. inratio:
  5623. description: 配置转入比值
  5624. type: integer
  5625. invalue:
  5626. description: 目标值
  5627. type: number
  5628. logid:
  5629. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5630. type: integer
  5631. mobile:
  5632. description: 手机号码(加密存储)
  5633. type: string
  5634. outergoodscode:
  5635. description: 外部商品代码[JD\PD]
  5636. type: string
  5637. outratio:
  5638. description: 配置转出比值
  5639. type: integer
  5640. outvalue:
  5641. description: 源值
  5642. type: number
  5643. pddecimalplace:
  5644. description: PD小数位
  5645. type: integer
  5646. qty:
  5647. description: 数量
  5648. type: string
  5649. remark:
  5650. description: 备注
  5651. type: string
  5652. sessionid:
  5653. description: 会话ID
  5654. type: integer
  5655. timemaxvalue:
  5656. description: 配置单次最大转入限制
  5657. type: number
  5658. timemaxvalue2:
  5659. description: 配置单次最大转入限制(转入)
  5660. type: number
  5661. timeminvalue:
  5662. description: 配置单次最小数量限制
  5663. type: number
  5664. timeminvalue2:
  5665. description: 配置单次最小数量限制(转入)
  5666. type: number
  5667. tradedate:
  5668. description: 交易日(yyyyMMdd)
  5669. type: string
  5670. userid:
  5671. description: 用户ID
  5672. type: integer
  5673. required:
  5674. - logid
  5675. type: object
  5676. szdz.QueryGoodsPickupRsp:
  5677. properties:
  5678. accountid:
  5679. description: 账户ID
  5680. type: integer
  5681. address:
  5682. description: 提货人详细地址
  5683. type: string
  5684. auditer:
  5685. description: 审核人
  5686. type: integer
  5687. audittime:
  5688. description: 审核时间
  5689. type: string
  5690. cardnum:
  5691. description: 提货人证件号码
  5692. type: string
  5693. cardtypeid:
  5694. description: 提货人证件类型
  5695. type: integer
  5696. checkremark:
  5697. description: 审核备注
  5698. type: string
  5699. goodscode:
  5700. description: 商品代码
  5701. type: string
  5702. goodsid:
  5703. description: 商品ID
  5704. type: integer
  5705. goodsname:
  5706. description: 商品名称
  5707. type: string
  5708. handlestatus:
  5709. description: 处理状态
  5710. type: integer
  5711. marketid:
  5712. description: 市场ID
  5713. type: integer
  5714. phonenum:
  5715. description: 提货人联系方式
  5716. type: string
  5717. qty:
  5718. description: 提货数量
  5719. type: number
  5720. recivername:
  5721. description: 提货人姓名
  5722. type: string
  5723. reqtime:
  5724. description: 更新时间
  5725. type: string
  5726. takemode:
  5727. description: 提货方式 - 2:自提 3:配送
  5728. type: integer
  5729. takeorderid:
  5730. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5731. type: string
  5732. takeorderstatus:
  5733. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5734. type: integer
  5735. takeremark:
  5736. description: 提货备注
  5737. type: string
  5738. tradedate:
  5739. description: 交易日(yyyyMMdd)
  5740. type: string
  5741. userid:
  5742. description: 用户ID
  5743. type: integer
  5744. required:
  5745. - takeorderid
  5746. type: object
  5747. szdz.QueryRecieptOrderRsp:
  5748. properties:
  5749. accountName:
  5750. description: 所属账号名称(已脱敏)
  5751. type: string
  5752. accountid:
  5753. description: 资金账号
  5754. type: integer
  5755. buyorsell:
  5756. description: 方向 - 0:买 1:卖
  5757. type: integer
  5758. enableqty:
  5759. description: 可摘数量
  5760. type: integer
  5761. goodscode:
  5762. description: 商品代码
  5763. type: string
  5764. goodsid:
  5765. description: 商品ID
  5766. type: integer
  5767. goodsname:
  5768. description: 商品名称
  5769. type: string
  5770. orderid:
  5771. description: 委托单号
  5772. type: string
  5773. orderprice:
  5774. description: 委托价格
  5775. type: number
  5776. ordertime:
  5777. description: 委托时间
  5778. type: string
  5779. tradedate:
  5780. description: 交易日(yyyyMMdd)
  5781. type: string
  5782. required:
  5783. - ordertime
  5784. type: object
  5785. szdz.QuerySZDZTradePositionRsp:
  5786. properties:
  5787. accountid:
  5788. description: 账号Id
  5789. type: integer
  5790. agreeunit:
  5791. description: 合约单位
  5792. type: number
  5793. averageprice:
  5794. description: 持仓均价
  5795. type: number
  5796. buyorsell:
  5797. description: 方向 - 0:买 1:卖
  5798. type: integer
  5799. closetotalqty:
  5800. description: 平仓总数量
  5801. type: integer
  5802. curholderamount:
  5803. description: 当前持仓总金额
  5804. type: number
  5805. curpositionqty:
  5806. description: 当前持仓总数量
  5807. type: integer
  5808. currencyid:
  5809. description: 报价货币ID
  5810. type: integer
  5811. curtdposition:
  5812. description: 期末今日头寸
  5813. type: integer
  5814. decimalplace:
  5815. description: 报价小数位
  5816. type: integer
  5817. enableqty:
  5818. description: 可用量
  5819. type: integer
  5820. fretdposition:
  5821. description: 冻结今日头寸
  5822. type: integer
  5823. frozenqty:
  5824. description: 持仓冻结数量
  5825. type: integer
  5826. goodscode:
  5827. description: 商品代码(内部)
  5828. type: string
  5829. goodsid:
  5830. description: 商品Id
  5831. type: integer
  5832. goodsname:
  5833. description: 商品名称
  5834. type: string
  5835. goodunit:
  5836. description: 报价单位
  5837. type: string
  5838. goodunitid:
  5839. description: 报价单位ID
  5840. type: integer
  5841. holderamount:
  5842. description: 期初持仓总金额
  5843. type: number
  5844. marketid:
  5845. description: 市场ID
  5846. type: integer
  5847. openreqqty:
  5848. description: 开仓申请数量
  5849. type: integer
  5850. opentotalqty:
  5851. description: 开仓总数量
  5852. type: integer
  5853. otherfrozenqty:
  5854. description: 持仓其他冻结数量(交割冻结)
  5855. type: integer
  5856. positionqty:
  5857. description: 期初持仓数量
  5858. type: integer
  5859. szdz3freezqty:
  5860. description: 尚志大宗转换冻结总数量
  5861. type: integer
  5862. tnqty:
  5863. description: T+N冻结总量
  5864. type: integer
  5865. tnusedqty:
  5866. description: T+N使用量
  5867. type: integer
  5868. trademode:
  5869. description: 交易模式
  5870. type: integer
  5871. usedmargin:
  5872. description: 占用保证金
  5873. type: number
  5874. type: object
  5875. taaccount.QueryAmountLogRsp:
  5876. properties:
  5877. OPERATETYPENAME:
  5878. description: 资金操作类型名称
  5879. type: string
  5880. accountid:
  5881. description: 资金账户ID
  5882. type: integer
  5883. agoodscode:
  5884. description: 竞拍商品代码
  5885. type: string
  5886. agoodsname:
  5887. description: 竞拍商品名称
  5888. type: string
  5889. amount:
  5890. description: 资金金额
  5891. type: number
  5892. amountadjusttype:
  5893. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5894. type: integer
  5895. autoid:
  5896. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5897. type: integer
  5898. balance:
  5899. description: 期初余额
  5900. type: number
  5901. businesscode:
  5902. description: 业务编号
  5903. type: integer
  5904. createtime:
  5905. description: 发生时间
  5906. type: string
  5907. currencyid:
  5908. description: 币种ID
  5909. type: integer
  5910. currentbalance:
  5911. description: 期末余额(变动后金额)
  5912. type: number
  5913. dgoodscode:
  5914. description: 交割商品代码
  5915. type: string
  5916. dgoodsname:
  5917. description: 交割商品名称
  5918. type: string
  5919. goodscode:
  5920. description: 商品代码
  5921. type: string
  5922. goodsid:
  5923. description: 商品ID
  5924. type: integer
  5925. goodsname:
  5926. description: 商品名称
  5927. type: string
  5928. marketid:
  5929. description: 市场ID
  5930. type: integer
  5931. marketname:
  5932. description: 市场名称
  5933. type: string
  5934. moneyticket:
  5935. description: 资金流水号:银行端流水号
  5936. type: integer
  5937. operatetype:
  5938. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5939. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5940. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5941. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5942. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  5943. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  5944. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  5945. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  5946. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  5947. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  5948. type: integer
  5949. relationorderid:
  5950. description: 关联单号
  5951. type: string
  5952. remark:
  5953. description: 备注
  5954. type: string
  5955. trademode:
  5956. description: 交易模式
  5957. type: integer
  5958. required:
  5959. - accountid
  5960. - amount
  5961. - amountadjusttype
  5962. - autoid
  5963. - balance
  5964. - createtime
  5965. - currentbalance
  5966. - operatetype
  5967. type: object
  5968. taaccount.QueryHisAmountLogRsp:
  5969. properties:
  5970. OPERATETYPENAME:
  5971. description: 资金操作类型名称
  5972. type: string
  5973. accountid:
  5974. description: 资金账户ID
  5975. type: integer
  5976. agoodscode:
  5977. description: 竞拍商品代码
  5978. type: string
  5979. agoodsname:
  5980. description: 竞拍商品名称
  5981. type: string
  5982. amount:
  5983. description: 资金金额
  5984. type: number
  5985. amountadjusttype:
  5986. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5987. type: integer
  5988. autoid:
  5989. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5990. type: integer
  5991. balance:
  5992. description: 期初余额
  5993. type: number
  5994. businesscode:
  5995. description: 业务编号
  5996. type: integer
  5997. createtime:
  5998. description: 发生时间
  5999. type: string
  6000. currencyid:
  6001. description: 币种ID
  6002. type: integer
  6003. currentbalance:
  6004. description: 期末余额(变动后金额)
  6005. type: number
  6006. dgoodscode:
  6007. description: 交割商品代码
  6008. type: string
  6009. dgoodsname:
  6010. description: 交割商品名称
  6011. type: string
  6012. goodscode:
  6013. description: 商品代码
  6014. type: string
  6015. goodsid:
  6016. description: 商品ID
  6017. type: integer
  6018. goodsname:
  6019. description: 商品名称
  6020. type: string
  6021. histradedate:
  6022. description: 历史交易日
  6023. type: string
  6024. isvaliddata:
  6025. description: 是否有效 - 0:无效 1:有效
  6026. type: integer
  6027. marketid:
  6028. description: 市场ID
  6029. type: integer
  6030. marketname:
  6031. description: 市场名称
  6032. type: string
  6033. moneyticket:
  6034. description: 资金流水号:银行端流水号
  6035. type: integer
  6036. operatetype:
  6037. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  6038. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  6039. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  6040. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  6041. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  6042. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  6043. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  6044. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  6045. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  6046. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  6047. type: integer
  6048. relationorderid:
  6049. description: 关联单号
  6050. type: string
  6051. remark:
  6052. description: 备注
  6053. type: string
  6054. trademode:
  6055. description: 交易模式
  6056. type: integer
  6057. required:
  6058. - accountid
  6059. - amount
  6060. - amountadjusttype
  6061. - autoid
  6062. - balance
  6063. - createtime
  6064. - currentbalance
  6065. - histradedate
  6066. - operatetype
  6067. type: object
  6068. trade.QueryRecieptOrderRsp:
  6069. properties:
  6070. accountName:
  6071. description: 所属账号名称(已脱敏)
  6072. type: string
  6073. accountid:
  6074. description: 资金账号
  6075. type: integer
  6076. buyorsell:
  6077. description: 方向 - 0:买 1:卖
  6078. type: integer
  6079. enableqty:
  6080. description: 可摘数量
  6081. type: integer
  6082. goodscode:
  6083. description: 商品代码
  6084. type: string
  6085. goodsid:
  6086. description: 商品ID
  6087. type: integer
  6088. goodsname:
  6089. description: 商品名称
  6090. type: string
  6091. orderid:
  6092. description: 委托单号
  6093. type: string
  6094. orderprice:
  6095. description: 委托价格
  6096. type: number
  6097. ordertime:
  6098. description: 委托时间
  6099. type: string
  6100. tradedate:
  6101. description: 交易日(yyyyMMdd)
  6102. type: string
  6103. required:
  6104. - ordertime
  6105. type: object
  6106. info:
  6107. contact: {}
  6108. description: 新的查询服务,替代原通用查询服务。
  6109. termsOfService: http://muchinfo.cn
  6110. title: MTP2.0 查询服务 API
  6111. version: "1.0"
  6112. paths:
  6113. /CPTrade/QueryCPTradeMyBidInfos:
  6114. get:
  6115. parameters:
  6116. - description: 资金账户
  6117. in: query
  6118. name: accountid
  6119. required: true
  6120. type: integer
  6121. - description: 预售市场ID
  6122. in: query
  6123. name: marketid
  6124. type: integer
  6125. - description: 预售商品ID
  6126. in: query
  6127. name: goodsid
  6128. type: integer
  6129. produces:
  6130. - application/json
  6131. responses:
  6132. "200":
  6133. description: OK
  6134. schema:
  6135. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  6136. "500":
  6137. description: Internal Server Error
  6138. schema:
  6139. $ref: '#/definitions/app.Response'
  6140. security:
  6141. - ApiKeyAuth: []
  6142. summary: 查询产能预售我的出价信息
  6143. tags:
  6144. - 产能预售
  6145. /CPTrade/QueryCPTradeOrderDetail:
  6146. get:
  6147. parameters:
  6148. - description: 预售商品ID
  6149. in: query
  6150. name: goodsid
  6151. type: integer
  6152. - description: 预售市场ID
  6153. in: query
  6154. name: marketid
  6155. type: integer
  6156. - description: 预售商品ID列表 - 格式:1,2,3
  6157. in: query
  6158. name: goodsids
  6159. type: string
  6160. produces:
  6161. - application/json
  6162. responses:
  6163. "200":
  6164. description: OK
  6165. schema:
  6166. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  6167. "500":
  6168. description: Internal Server Error
  6169. schema:
  6170. $ref: '#/definitions/app.Response'
  6171. security:
  6172. - ApiKeyAuth: []
  6173. summary: 查询产能预售委托单信息
  6174. tags:
  6175. - 产能预售
  6176. /CPTrade/QueryMyCPTradeGoods:
  6177. get:
  6178. parameters:
  6179. - description: 资金账户
  6180. in: query
  6181. name: accountid
  6182. required: true
  6183. type: integer
  6184. produces:
  6185. - application/json
  6186. responses:
  6187. "200":
  6188. description: OK
  6189. schema:
  6190. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  6191. "500":
  6192. description: Internal Server Error
  6193. schema:
  6194. $ref: '#/definitions/app.Response'
  6195. security:
  6196. - ApiKeyAuth: []
  6197. summary: 查询我的预售信息
  6198. tags:
  6199. - 产能预售
  6200. /CPTrade/QueryPositionCancel:
  6201. get:
  6202. parameters:
  6203. - description: 账户ID
  6204. in: query
  6205. name: userid
  6206. required: true
  6207. type: integer
  6208. - description: 注销ID
  6209. in: query
  6210. name: cancelid
  6211. type: integer
  6212. - description: 资金账户ID
  6213. in: query
  6214. name: accountid
  6215. type: integer
  6216. produces:
  6217. - application/json
  6218. responses:
  6219. "200":
  6220. description: OK
  6221. schema:
  6222. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  6223. "500":
  6224. description: Internal Server Error
  6225. schema:
  6226. $ref: '#/definitions/app.Response'
  6227. security:
  6228. - ApiKeyAuth: []
  6229. summary: 查询远期订单注销申请信息
  6230. tags:
  6231. - 产能预售
  6232. /CPTrade/QueryPreasleApply:
  6233. get:
  6234. parameters:
  6235. - description: 账户ID
  6236. in: query
  6237. name: userid
  6238. required: true
  6239. type: integer
  6240. - description: 申请ID
  6241. in: query
  6242. name: applyid
  6243. type: integer
  6244. - description: 资金账户ID
  6245. in: query
  6246. name: accountid
  6247. type: integer
  6248. produces:
  6249. - application/json
  6250. responses:
  6251. "200":
  6252. description: OK
  6253. schema:
  6254. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  6255. "500":
  6256. description: Internal Server Error
  6257. schema:
  6258. $ref: '#/definitions/app.Response'
  6259. security:
  6260. - ApiKeyAuth: []
  6261. summary: 查询产能预售申请信息
  6262. tags:
  6263. - 产能预售
  6264. /CPTrade/QueryPresaleGoodsEx:
  6265. get:
  6266. parameters:
  6267. - description: 预售商品ID
  6268. in: query
  6269. name: goodsid
  6270. type: integer
  6271. - description: 预售市场ID
  6272. in: query
  6273. name: marketid
  6274. type: integer
  6275. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  6276. in: query
  6277. name: presalemode
  6278. type: integer
  6279. - description: 预售商品ID列表 - 格式:1,2,3
  6280. in: query
  6281. name: goodsids
  6282. type: string
  6283. - description: 预售商品代码
  6284. in: query
  6285. name: goodscode
  6286. type: string
  6287. produces:
  6288. - application/json
  6289. responses:
  6290. "200":
  6291. description: OK
  6292. schema:
  6293. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  6294. "500":
  6295. description: Internal Server Error
  6296. schema:
  6297. $ref: '#/definitions/app.Response'
  6298. security:
  6299. - ApiKeyAuth: []
  6300. summary: 查询产能预售商品扩展信息
  6301. tags:
  6302. - 产能预售
  6303. /CPTrade/QueryUserGoodsData:
  6304. get:
  6305. parameters:
  6306. - description: 资金账户ID
  6307. in: query
  6308. name: accountid
  6309. required: true
  6310. type: integer
  6311. produces:
  6312. - application/json
  6313. responses:
  6314. "200":
  6315. description: OK
  6316. schema:
  6317. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  6318. "500":
  6319. description: Internal Server Error
  6320. schema:
  6321. $ref: '#/definitions/app.Response'
  6322. security:
  6323. - ApiKeyAuth: []
  6324. summary: 查询远期订单信息
  6325. tags:
  6326. - 产能预售
  6327. /Common/GetAllEnums:
  6328. get:
  6329. produces:
  6330. - application/json
  6331. responses:
  6332. "200":
  6333. description: OK
  6334. schema:
  6335. $ref: '#/definitions/models.Enumdicitem'
  6336. "500":
  6337. description: Internal Server Error
  6338. schema:
  6339. $ref: '#/definitions/app.Response'
  6340. summary: 获取所有枚举信息
  6341. tags:
  6342. - 通用服务
  6343. /Common/GetServerTime:
  6344. get:
  6345. produces:
  6346. - application/json
  6347. responses:
  6348. "200":
  6349. description: OK
  6350. schema:
  6351. $ref: '#/definitions/app.Response'
  6352. "500":
  6353. description: Internal Server Error
  6354. schema:
  6355. $ref: '#/definitions/app.Response'
  6356. summary: 获取服务器时间
  6357. tags:
  6358. - 通用服务
  6359. /Common/NoticeReaded:
  6360. post:
  6361. parameters:
  6362. - description: 登录账号
  6363. in: query
  6364. name: loginID
  6365. required: true
  6366. type: integer
  6367. - description: 通知公告ID
  6368. in: query
  6369. name: noticeID
  6370. required: true
  6371. type: integer
  6372. produces:
  6373. - application/json
  6374. responses:
  6375. "200":
  6376. description: OK
  6377. schema:
  6378. $ref: '#/definitions/app.Response'
  6379. "500":
  6380. description: Internal Server Error
  6381. schema:
  6382. $ref: '#/definitions/app.Response'
  6383. security:
  6384. - ApiKeyAuth: []
  6385. summary: 通知公告设置已读请求
  6386. tags:
  6387. - 通用服务
  6388. /Common/QueryImageConfigs:
  6389. get:
  6390. parameters:
  6391. - description: 类型 - 1:App首页轮播 2:我的
  6392. in: query
  6393. name: imageType
  6394. type: integer
  6395. produces:
  6396. - application/json
  6397. responses:
  6398. "200":
  6399. description: OK
  6400. schema:
  6401. $ref: '#/definitions/models.Szdz2imageconfig'
  6402. "500":
  6403. description: Internal Server Error
  6404. schema:
  6405. $ref: '#/definitions/app.Response'
  6406. summary: 查询轮播图配置信息
  6407. tags:
  6408. - 通用服务
  6409. /Common/QueryNotice:
  6410. get:
  6411. parameters:
  6412. - description: 页码
  6413. in: query
  6414. name: page
  6415. type: integer
  6416. - description: 每页条数
  6417. in: query
  6418. name: pagesize
  6419. type: integer
  6420. - description: 登录账号
  6421. in: query
  6422. name: loginID
  6423. required: true
  6424. type: integer
  6425. - description: 消息类型 - 1:公告通知 2:系统消息
  6426. in: query
  6427. name: msgType
  6428. type: integer
  6429. - description: 是否只获取未读信息
  6430. in: query
  6431. name: onlyUnRead
  6432. type: boolean
  6433. produces:
  6434. - application/json
  6435. responses:
  6436. "200":
  6437. description: OK
  6438. schema:
  6439. $ref: '#/definitions/common.QueryNoticeRsp'
  6440. "500":
  6441. description: Internal Server Error
  6442. schema:
  6443. $ref: '#/definitions/app.Response'
  6444. security:
  6445. - ApiKeyAuth: []
  6446. summary: 通知公告系统消息查询
  6447. tags:
  6448. - 通用服务
  6449. /Common/QueryProvincesAndCities:
  6450. get:
  6451. parameters:
  6452. - description: 省ID
  6453. in: query
  6454. name: provinceID
  6455. type: integer
  6456. produces:
  6457. - application/json
  6458. responses:
  6459. "200":
  6460. description: OK
  6461. schema:
  6462. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  6463. "500":
  6464. description: Internal Server Error
  6465. schema:
  6466. $ref: '#/definitions/app.Response'
  6467. summary: 查询省市信息(不包括区)
  6468. tags:
  6469. - 通用服务
  6470. /Common/QueryTableDefine:
  6471. get:
  6472. parameters:
  6473. - description: 表key
  6474. in: query
  6475. name: tableKey
  6476. type: string
  6477. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  6478. in: query
  6479. name: tableType
  6480. type: integer
  6481. produces:
  6482. - application/json
  6483. responses:
  6484. "200":
  6485. description: OK
  6486. schema:
  6487. $ref: '#/definitions/common.QueryTableDefineRsp'
  6488. "500":
  6489. description: Internal Server Error
  6490. schema:
  6491. $ref: '#/definitions/app.Response'
  6492. summary: 查询交易端列表头信息
  6493. tags:
  6494. - 通用服务
  6495. /Common/QueryTraderMenu:
  6496. get:
  6497. parameters:
  6498. - description: 登录账号
  6499. in: query
  6500. name: loginid
  6501. required: true
  6502. type: integer
  6503. produces:
  6504. - application/json
  6505. responses:
  6506. "200":
  6507. description: OK
  6508. schema:
  6509. $ref: '#/definitions/common.QueryTraderMenuRsp'
  6510. "500":
  6511. description: Internal Server Error
  6512. schema:
  6513. $ref: '#/definitions/app.Response'
  6514. summary: 查询交易端菜单
  6515. tags:
  6516. - 通用服务
  6517. /Delivery/QueryDeliveryRelation:
  6518. get:
  6519. parameters:
  6520. - description: 商品ID
  6521. in: query
  6522. name: goodsid
  6523. type: integer
  6524. - description: 品种ID
  6525. in: query
  6526. name: deliverygoodsid
  6527. type: integer
  6528. - description: 市场ID
  6529. in: query
  6530. name: marketid
  6531. type: integer
  6532. produces:
  6533. - application/json
  6534. responses:
  6535. "200":
  6536. description: OK
  6537. schema:
  6538. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  6539. "500":
  6540. description: Internal Server Error
  6541. schema:
  6542. $ref: '#/definitions/app.Response'
  6543. security:
  6544. - ApiKeyAuth: []
  6545. summary: 查询商品交割关系表
  6546. tags:
  6547. - 交割服务
  6548. /Ermcp/QueryBusinessDj:
  6549. get:
  6550. parameters:
  6551. - description: 用户ID
  6552. in: query
  6553. name: UserId
  6554. required: true
  6555. type: integer
  6556. - description: 现货合同ID, 不填则查所有
  6557. in: query
  6558. name: relatedid
  6559. type: string
  6560. produces:
  6561. - application/json
  6562. responses:
  6563. "200":
  6564. description: OK
  6565. schema:
  6566. items:
  6567. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  6568. type: array
  6569. "500":
  6570. description: Internal Server Error
  6571. schema:
  6572. $ref: '#/definitions/app.Response'
  6573. security:
  6574. - ApiKeyAuth: []
  6575. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  6576. tags:
  6577. - 企业风险管理(app)
  6578. /Ermcp/QueryBusinessFp:
  6579. get:
  6580. parameters:
  6581. - description: 用户ID
  6582. in: query
  6583. name: UserId
  6584. required: true
  6585. type: integer
  6586. - description: 现货合同ID, 不填则查所有
  6587. in: query
  6588. name: relatedid
  6589. type: string
  6590. produces:
  6591. - application/json
  6592. responses:
  6593. "200":
  6594. description: OK
  6595. schema:
  6596. items:
  6597. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  6598. type: array
  6599. "500":
  6600. description: Internal Server Error
  6601. schema:
  6602. $ref: '#/definitions/app.Response'
  6603. security:
  6604. - ApiKeyAuth: []
  6605. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  6606. tags:
  6607. - 企业风险管理(app)
  6608. /Ermcp/QueryBusinessJs:
  6609. get:
  6610. parameters:
  6611. - description: 用户ID
  6612. in: query
  6613. name: UserId
  6614. required: true
  6615. type: integer
  6616. - description: 现货合同ID, 不填则查所有
  6617. in: query
  6618. name: relatedid
  6619. type: string
  6620. produces:
  6621. - application/json
  6622. responses:
  6623. "200":
  6624. description: OK
  6625. schema:
  6626. items:
  6627. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  6628. type: array
  6629. "500":
  6630. description: Internal Server Error
  6631. schema:
  6632. $ref: '#/definitions/app.Response'
  6633. security:
  6634. - ApiKeyAuth: []
  6635. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  6636. tags:
  6637. - 企业风险管理(app)
  6638. /Ermcp/QueryBusinessKx:
  6639. get:
  6640. parameters:
  6641. - description: 用户ID
  6642. in: query
  6643. name: UserId
  6644. required: true
  6645. type: integer
  6646. - description: 现货合同ID, 不填则查所有
  6647. in: query
  6648. name: relatedid
  6649. type: string
  6650. produces:
  6651. - application/json
  6652. responses:
  6653. "200":
  6654. description: OK
  6655. schema:
  6656. items:
  6657. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  6658. type: array
  6659. "500":
  6660. description: Internal Server Error
  6661. schema:
  6662. $ref: '#/definitions/app.Response'
  6663. security:
  6664. - ApiKeyAuth: []
  6665. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  6666. tags:
  6667. - 企业风险管理(app)
  6668. /Ermcp/QueryContract:
  6669. get:
  6670. parameters:
  6671. - description: 用户ID
  6672. in: query
  6673. name: userId
  6674. required: true
  6675. type: integer
  6676. - description: 合同类型 1-采购, -1-销售
  6677. in: query
  6678. name: contracttype
  6679. required: true
  6680. type: integer
  6681. - description: 查询类型 1-全部 2-待点价 3-履约结算
  6682. in: query
  6683. name: querytype
  6684. required: true
  6685. type: integer
  6686. produces:
  6687. - application/json
  6688. responses:
  6689. "200":
  6690. description: OK
  6691. schema:
  6692. items:
  6693. $ref: '#/definitions/ermcp.QryErmcpRsp'
  6694. type: array
  6695. "500":
  6696. description: Internal Server Error
  6697. schema:
  6698. $ref: '#/definitions/app.Response'
  6699. security:
  6700. - ApiKeyAuth: []
  6701. summary: 查询合同(采购和销售)
  6702. tags:
  6703. - 企业风险管理(app)
  6704. /Ermcp/QueryHedgePlan:
  6705. get:
  6706. parameters:
  6707. - description: 用户ID
  6708. in: query
  6709. name: userId
  6710. required: true
  6711. type: integer
  6712. - description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6713. in: query
  6714. name: HedgePlanStatus
  6715. required: true
  6716. type: integer
  6717. produces:
  6718. - application/json
  6719. responses:
  6720. "200":
  6721. description: OK
  6722. schema:
  6723. items:
  6724. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  6725. type: array
  6726. "500":
  6727. description: Internal Server Error
  6728. schema:
  6729. $ref: '#/definitions/app.Response'
  6730. security:
  6731. - ApiKeyAuth: []
  6732. summary: 查询套保计划
  6733. tags:
  6734. - 企业风险管理(app)
  6735. /Ermcp/QuerySpotContract:
  6736. get:
  6737. parameters:
  6738. - description: 用户ID
  6739. in: query
  6740. name: userId
  6741. required: true
  6742. type: integer
  6743. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  6744. in: query
  6745. name: QueryType
  6746. required: true
  6747. type: integer
  6748. produces:
  6749. - application/json
  6750. responses:
  6751. "200":
  6752. description: OK
  6753. schema:
  6754. items:
  6755. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  6756. type: array
  6757. "500":
  6758. description: Internal Server Error
  6759. schema:
  6760. $ref: '#/definitions/app.Response'
  6761. security:
  6762. - ApiKeyAuth: []
  6763. summary: 查询现货合同(对应现货合同菜单)
  6764. tags:
  6765. - 企业风险管理(app)
  6766. /Ermcp/QueryUserInfo:
  6767. get:
  6768. parameters:
  6769. - description: 所属机构用户ID
  6770. in: query
  6771. name: MemberUserID
  6772. required: true
  6773. type: integer
  6774. - description: 账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6775. in: query
  6776. name: AccountStatus
  6777. required: true
  6778. type: string
  6779. produces:
  6780. - application/json
  6781. responses:
  6782. "200":
  6783. description: OK
  6784. schema:
  6785. items:
  6786. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  6787. type: array
  6788. "500":
  6789. description: Internal Server Error
  6790. schema:
  6791. $ref: '#/definitions/app.Response'
  6792. security:
  6793. - ApiKeyAuth: []
  6794. summary: 查询客户资料
  6795. tags:
  6796. - 企业风险管理(app)
  6797. /Ermcp/QueryWrStandard:
  6798. get:
  6799. parameters:
  6800. - description: 所属机构ID
  6801. in: query
  6802. name: userid
  6803. required: true
  6804. type: integer
  6805. produces:
  6806. - application/json
  6807. responses:
  6808. "200":
  6809. description: OK
  6810. schema:
  6811. items:
  6812. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  6813. type: array
  6814. "500":
  6815. description: Internal Server Error
  6816. schema:
  6817. $ref: '#/definitions/app.Response'
  6818. security:
  6819. - ApiKeyAuth: []
  6820. summary: 查询现货商品
  6821. tags:
  6822. - 企业风险管理(app)
  6823. /Erms2/QueryArbitrageStrategy:
  6824. get:
  6825. parameters:
  6826. - description: 账户ID
  6827. in: query
  6828. name: userid
  6829. required: true
  6830. type: integer
  6831. - description: 商品组ID(品种ID)
  6832. in: query
  6833. name: goodsgroupid
  6834. type: string
  6835. produces:
  6836. - application/json
  6837. responses:
  6838. "200":
  6839. description: OK
  6840. schema:
  6841. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  6842. "500":
  6843. description: Internal Server Error
  6844. schema:
  6845. $ref: '#/definitions/app.Response'
  6846. security:
  6847. - ApiKeyAuth: []
  6848. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  6849. tags:
  6850. - 风险管理
  6851. /Erms2/QueryInnerTradeDetail:
  6852. get:
  6853. parameters:
  6854. - description: 资金账户
  6855. in: query
  6856. name: accountid
  6857. required: true
  6858. type: integer
  6859. produces:
  6860. - application/json
  6861. responses:
  6862. "200":
  6863. description: OK
  6864. schema:
  6865. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  6866. "500":
  6867. description: Internal Server Error
  6868. schema:
  6869. $ref: '#/definitions/app.Response'
  6870. security:
  6871. - ApiKeyAuth: []
  6872. summary: 查询内部成交单信息
  6873. tags:
  6874. - 风险管理
  6875. /Erms2/QuerySpotContract:
  6876. get:
  6877. parameters:
  6878. - description: 策略申请ID
  6879. in: query
  6880. name: asapplyid
  6881. required: true
  6882. type: integer
  6883. - description: 现货合同ID
  6884. in: query
  6885. name: spotcontractid
  6886. type: integer
  6887. produces:
  6888. - application/json
  6889. responses:
  6890. "200":
  6891. description: OK
  6892. schema:
  6893. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  6894. "500":
  6895. description: Internal Server Error
  6896. schema:
  6897. $ref: '#/definitions/app.Response'
  6898. security:
  6899. - ApiKeyAuth: []
  6900. summary: 查询现货合同表信息(指定策略ID、未结束的)
  6901. tags:
  6902. - 风险管理
  6903. /Erms3/AddErms2ASApply:
  6904. post:
  6905. parameters:
  6906. - description: 申请参数
  6907. in: body
  6908. name: jsonBody
  6909. required: true
  6910. schema:
  6911. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  6912. produces:
  6913. - application/json
  6914. responses:
  6915. "200":
  6916. description: OK
  6917. schema:
  6918. $ref: '#/definitions/app.Response'
  6919. "500":
  6920. description: Internal Server Error
  6921. schema:
  6922. $ref: '#/definitions/app.Response'
  6923. security:
  6924. - ApiKeyAuth: []
  6925. summary: 新增期现套利业务申请
  6926. tags:
  6927. - 风险管理v3
  6928. /Erms3/AddErms2SpotTradeApply:
  6929. post:
  6930. parameters:
  6931. - description: 申请参数
  6932. in: body
  6933. name: jsonBody
  6934. required: true
  6935. schema:
  6936. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  6937. produces:
  6938. - application/json
  6939. responses:
  6940. "200":
  6941. description: OK
  6942. schema:
  6943. $ref: '#/definitions/app.Response'
  6944. "500":
  6945. description: Internal Server Error
  6946. schema:
  6947. $ref: '#/definitions/app.Response'
  6948. security:
  6949. - ApiKeyAuth: []
  6950. summary: 新增现货贸易业务申请
  6951. tags:
  6952. - 风险管理v3
  6953. /Erms3/AddSpotContractApply:
  6954. post:
  6955. parameters:
  6956. - description: 申请参数
  6957. in: body
  6958. name: jsonBody
  6959. required: true
  6960. schema:
  6961. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  6962. produces:
  6963. - application/json
  6964. responses:
  6965. "200":
  6966. description: OK
  6967. schema:
  6968. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  6969. "500":
  6970. description: Internal Server Error
  6971. schema:
  6972. $ref: '#/definitions/app.Response'
  6973. security:
  6974. - ApiKeyAuth: []
  6975. summary: 新增现货合同申请
  6976. tags:
  6977. - 风险管理v3
  6978. /Erms3/AddUserInfoApply:
  6979. post:
  6980. parameters:
  6981. - description: 申请参数
  6982. in: body
  6983. name: jsonBody
  6984. required: true
  6985. schema:
  6986. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  6987. produces:
  6988. - application/json
  6989. responses:
  6990. "200":
  6991. description: OK
  6992. schema:
  6993. $ref: '#/definitions/app.Response'
  6994. "500":
  6995. description: Internal Server Error
  6996. schema:
  6997. $ref: '#/definitions/app.Response'
  6998. security:
  6999. - ApiKeyAuth: []
  7000. summary: 新增客户申请
  7001. tags:
  7002. - 风险管理v3
  7003. /Erms3/QueryBusinessInfo:
  7004. get:
  7005. parameters:
  7006. - description: 资金账号ID列表,用逗号分隔
  7007. in: query
  7008. name: accountids
  7009. required: true
  7010. type: string
  7011. - description: 状态,0为未结束 1为已结束
  7012. in: query
  7013. name: status
  7014. required: true
  7015. type: integer
  7016. produces:
  7017. - application/json
  7018. responses:
  7019. "200":
  7020. description: OK
  7021. schema:
  7022. items:
  7023. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  7024. type: array
  7025. "500":
  7026. description: Internal Server Error
  7027. schema:
  7028. $ref: '#/definitions/app.Response'
  7029. security:
  7030. - ApiKeyAuth: []
  7031. summary: 查询业务表单数据
  7032. tags:
  7033. - 风险管理v3
  7034. /Erms3/QueryPendingAuditContract:
  7035. get:
  7036. parameters:
  7037. - description: 资金账号ID列表,逗号隔开
  7038. in: query
  7039. name: accountids
  7040. required: true
  7041. type: string
  7042. - description: 合同类型 1-采购 -1-销售
  7043. in: query
  7044. name: contracttype
  7045. required: true
  7046. type: integer
  7047. - description: 合同模式 1-普通 2-回购
  7048. in: query
  7049. name: contractmode
  7050. required: true
  7051. type: integer
  7052. produces:
  7053. - application/json
  7054. responses:
  7055. "200":
  7056. description: OK
  7057. schema:
  7058. items:
  7059. $ref: '#/definitions/erms3.QryAuditContractRsp'
  7060. type: array
  7061. "500":
  7062. description: Internal Server Error
  7063. schema:
  7064. $ref: '#/definitions/app.Response'
  7065. security:
  7066. - ApiKeyAuth: []
  7067. summary: 查询待审核合同
  7068. tags:
  7069. - 风险管理v3
  7070. /Erms3/QueryPendingBusiness:
  7071. get:
  7072. parameters:
  7073. - description: 资金账号ID列表,逗号隔开
  7074. in: query
  7075. name: accountids
  7076. required: true
  7077. type: string
  7078. produces:
  7079. - application/json
  7080. responses:
  7081. "200":
  7082. description: OK
  7083. schema:
  7084. items:
  7085. $ref: '#/definitions/erms3.QryPendingBizRsp'
  7086. type: array
  7087. "500":
  7088. description: Internal Server Error
  7089. schema:
  7090. $ref: '#/definitions/app.Response'
  7091. security:
  7092. - ApiKeyAuth: []
  7093. summary: 查询待审核基差贸易业务
  7094. tags:
  7095. - 风险管理v3
  7096. /Erms3/QuerySpotContractAppleForm:
  7097. get:
  7098. parameters:
  7099. - description: 登录账号
  7100. in: query
  7101. name: loginID
  7102. required: true
  7103. type: integer
  7104. produces:
  7105. - application/json
  7106. responses:
  7107. "200":
  7108. description: OK
  7109. schema:
  7110. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  7111. "500":
  7112. description: Internal Server Error
  7113. schema:
  7114. $ref: '#/definitions/app.Response'
  7115. security:
  7116. - ApiKeyAuth: []
  7117. summary: 查询合同申请表单数据
  7118. tags:
  7119. - 风险管理v3
  7120. /Erms3/QuerySpotContractDetail:
  7121. get:
  7122. parameters:
  7123. - description: 资金账号ID列表,用逗号分隔
  7124. in: query
  7125. name: accountids
  7126. required: true
  7127. type: string
  7128. - description: 合同类型,1为采购合同 -1为销售合同
  7129. in: query
  7130. name: contracttype
  7131. required: true
  7132. type: integer
  7133. - description: 合同模式,1为普通合同 2为回购销售合同
  7134. in: query
  7135. name: contractmode
  7136. required: true
  7137. type: integer
  7138. - description: 状态,0为履约中 1为已完成
  7139. in: query
  7140. name: status
  7141. required: true
  7142. type: integer
  7143. produces:
  7144. - application/json
  7145. responses:
  7146. "200":
  7147. description: OK
  7148. schema:
  7149. items:
  7150. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  7151. type: array
  7152. "500":
  7153. description: Internal Server Error
  7154. schema:
  7155. $ref: '#/definitions/app.Response'
  7156. security:
  7157. - ApiKeyAuth: []
  7158. summary: 查询合同详细信息
  7159. tags:
  7160. - 风险管理v3
  7161. /Erms3/QueryUserInfoApplies:
  7162. get:
  7163. parameters:
  7164. - description: 页码
  7165. in: query
  7166. name: page
  7167. type: integer
  7168. - description: 每页条数
  7169. in: query
  7170. name: pagesize
  7171. type: integer
  7172. - description: 客户名称,支持模糊查询
  7173. in: query
  7174. name: userName
  7175. type: string
  7176. produces:
  7177. - application/json
  7178. responses:
  7179. "200":
  7180. description: OK
  7181. schema:
  7182. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  7183. "500":
  7184. description: Internal Server Error
  7185. schema:
  7186. $ref: '#/definitions/app.Response'
  7187. security:
  7188. - ApiKeyAuth: []
  7189. summary: 客户申请信息查询
  7190. tags:
  7191. - 风险管理v3
  7192. /Erms3/QueryUserInfos:
  7193. get:
  7194. parameters:
  7195. - description: 页码
  7196. in: query
  7197. name: page
  7198. type: integer
  7199. - description: 每页条数
  7200. in: query
  7201. name: pagesize
  7202. type: integer
  7203. - description: 客户名称,支持模糊查询
  7204. in: query
  7205. name: userName
  7206. type: string
  7207. produces:
  7208. - application/json
  7209. responses:
  7210. "200":
  7211. description: OK
  7212. schema:
  7213. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  7214. "500":
  7215. description: Internal Server Error
  7216. schema:
  7217. $ref: '#/definitions/app.Response'
  7218. security:
  7219. - ApiKeyAuth: []
  7220. summary: 客户信息查询
  7221. tags:
  7222. - 风险管理v3
  7223. /HSBY/GetHsbyMyCount:
  7224. get:
  7225. description: 说明: 不包括已完成的数量。
  7226. parameters:
  7227. - description: 资金账户列表,格式:1,2,3
  7228. in: query
  7229. name: accountIDs
  7230. required: true
  7231. type: string
  7232. produces:
  7233. - application/json
  7234. responses:
  7235. "200":
  7236. description: OK
  7237. schema:
  7238. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  7239. "500":
  7240. description: Internal Server Error
  7241. schema:
  7242. $ref: '#/definitions/app.Response'
  7243. security:
  7244. - ApiKeyAuth: []
  7245. summary: 获取我的订单与包裹数量
  7246. tags:
  7247. - 定制【海商报业】
  7248. /HSBY/QueryHsbyBuyMyTradeDetail:
  7249. get:
  7250. parameters:
  7251. - description: 页码
  7252. in: query
  7253. name: page
  7254. type: integer
  7255. - description: 每页条数
  7256. in: query
  7257. name: pagesize
  7258. type: integer
  7259. - description: 资金账户列表,格式:1,2,3
  7260. in: query
  7261. name: accountIDs
  7262. required: true
  7263. type: string
  7264. produces:
  7265. - application/json
  7266. responses:
  7267. "200":
  7268. description: OK
  7269. schema:
  7270. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  7271. "500":
  7272. description: Internal Server Error
  7273. schema:
  7274. $ref: '#/definitions/app.Response'
  7275. security:
  7276. - ApiKeyAuth: []
  7277. summary: 查询"我的订单 - 已完成"单据信息
  7278. tags:
  7279. - 定制【海商报业】
  7280. /HSBY/QueryHsbyGoodsOrderDetails:
  7281. get:
  7282. description: 说明:查询结果已按委托价格和委托时间排序
  7283. parameters:
  7284. - description: 商品ID
  7285. in: query
  7286. name: goodsID
  7287. required: true
  7288. type: integer
  7289. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  7290. in: query
  7291. name: accountIDs
  7292. type: string
  7293. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  7294. in: query
  7295. name: buyOrSell
  7296. type: integer
  7297. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  7298. in: query
  7299. name: price
  7300. type: number
  7301. - description: 档位,不传则默认为3档
  7302. in: query
  7303. name: speed
  7304. type: integer
  7305. produces:
  7306. - application/json
  7307. responses:
  7308. "200":
  7309. description: OK
  7310. schema:
  7311. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  7312. "500":
  7313. description: Internal Server Error
  7314. schema:
  7315. $ref: '#/definitions/app.Response'
  7316. security:
  7317. - ApiKeyAuth: []
  7318. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  7319. tags:
  7320. - 定制【海商报业】
  7321. /HSBY/QueryHsbyListingGoodsDetail:
  7322. get:
  7323. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  7324. parameters:
  7325. - description: 商品ID
  7326. in: query
  7327. name: goodsID
  7328. required: true
  7329. type: integer
  7330. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  7331. in: query
  7332. name: accountID
  7333. type: integer
  7334. produces:
  7335. - application/json
  7336. responses:
  7337. "200":
  7338. description: OK
  7339. schema:
  7340. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  7341. "500":
  7342. description: Internal Server Error
  7343. schema:
  7344. $ref: '#/definitions/app.Response'
  7345. security:
  7346. - ApiKeyAuth: []
  7347. summary: 查询二级市场(挂牌点选)商品信息详情
  7348. tags:
  7349. - 定制【海商报业】
  7350. /HSBY/QueryHsbyMarketGoodsDetail:
  7351. get:
  7352. parameters:
  7353. - description: 委托单号
  7354. in: query
  7355. name: orderID
  7356. required: true
  7357. type: integer
  7358. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  7359. in: query
  7360. name: accountID
  7361. type: integer
  7362. produces:
  7363. - application/json
  7364. responses:
  7365. "200":
  7366. description: OK
  7367. schema:
  7368. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  7369. "500":
  7370. description: Internal Server Error
  7371. schema:
  7372. $ref: '#/definitions/app.Response'
  7373. security:
  7374. - ApiKeyAuth: []
  7375. summary: 查询三级市场(商城)商品信息详情
  7376. tags:
  7377. - 定制【海商报业】
  7378. /HSBY/QueryHsbyMarketGoodses:
  7379. get:
  7380. parameters:
  7381. - description: 页码
  7382. in: query
  7383. name: page
  7384. type: integer
  7385. - description: 每页条数
  7386. in: query
  7387. name: pagesize
  7388. type: integer
  7389. - description: 市场ID列表,格式:1,2,3
  7390. in: query
  7391. name: marketIDs
  7392. required: true
  7393. type: string
  7394. - description: 资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。
  7395. in: query
  7396. name: accountID
  7397. type: integer
  7398. - description: 类别ID
  7399. in: query
  7400. name: categoryID
  7401. type: integer
  7402. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  7403. in: query
  7404. name: goodsIDs
  7405. type: string
  7406. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  7407. in: query
  7408. name: couponTypeID
  7409. type: integer
  7410. produces:
  7411. - application/json
  7412. responses:
  7413. "200":
  7414. description: OK
  7415. schema:
  7416. $ref: '#/definitions/models.HsbyMarketGoods'
  7417. "500":
  7418. description: Internal Server Error
  7419. schema:
  7420. $ref: '#/definitions/app.Response'
  7421. security:
  7422. - ApiKeyAuth: []
  7423. summary: 查询特卖商品列表(三级商城)
  7424. tags:
  7425. - 定制【海商报业】
  7426. /HSBY/QueryHsbyMarkets:
  7427. get:
  7428. produces:
  7429. - application/json
  7430. responses:
  7431. "200":
  7432. description: OK
  7433. schema:
  7434. $ref: '#/definitions/models.HsbyMarketInfo'
  7435. "500":
  7436. description: Internal Server Error
  7437. schema:
  7438. $ref: '#/definitions/app.Response'
  7439. security:
  7440. - ApiKeyAuth: []
  7441. summary: 查询海商报业相关市场信息
  7442. tags:
  7443. - 定制【海商报业】
  7444. /HSBY/QueryHsbyMyBuyOrderDetails:
  7445. get:
  7446. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  7447. parameters:
  7448. - description: 资金账户列表,格式:1,2,3
  7449. in: query
  7450. name: accountIDs
  7451. required: true
  7452. type: string
  7453. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  7454. in: query
  7455. name: myBuyStatus
  7456. type: integer
  7457. produces:
  7458. - application/json
  7459. responses:
  7460. "200":
  7461. description: OK
  7462. schema:
  7463. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  7464. "500":
  7465. description: Internal Server Error
  7466. schema:
  7467. $ref: '#/definitions/app.Response'
  7468. security:
  7469. - ApiKeyAuth: []
  7470. summary: 查询“我的订单”信息
  7471. tags:
  7472. - 定制【海商报业】
  7473. /HSBY/QueryHsbyMyGoods:
  7474. get:
  7475. parameters:
  7476. - description: 资金账户列表,格式:1,2,3
  7477. in: query
  7478. name: accountIDs
  7479. required: true
  7480. type: string
  7481. produces:
  7482. - application/json
  7483. responses:
  7484. "200":
  7485. description: OK
  7486. schema:
  7487. $ref: '#/definitions/models.HsbyMyGoods'
  7488. "500":
  7489. description: Internal Server Error
  7490. schema:
  7491. $ref: '#/definitions/app.Response'
  7492. security:
  7493. - ApiKeyAuth: []
  7494. summary: 查询“我的商品”信息
  7495. tags:
  7496. - 定制【海商报业】
  7497. /HSBY/QueryHsbyMyPackages:
  7498. get:
  7499. parameters:
  7500. - description: 资金账户列表,格式:1,2,3
  7501. in: query
  7502. name: accountIDs
  7503. required: true
  7504. type: string
  7505. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7506. in: query
  7507. name: takeOrderStatus
  7508. type: integer
  7509. produces:
  7510. - application/json
  7511. responses:
  7512. "200":
  7513. description: OK
  7514. schema:
  7515. $ref: '#/definitions/models.HsbyMyPackage'
  7516. "500":
  7517. description: Internal Server Error
  7518. schema:
  7519. $ref: '#/definitions/app.Response'
  7520. security:
  7521. - ApiKeyAuth: []
  7522. summary: 查询我的包裹信息
  7523. tags:
  7524. - 定制【海商报业】
  7525. /HSBY/QueryHsbyPreGoodsDetail:
  7526. get:
  7527. parameters:
  7528. - description: 商品ID
  7529. in: query
  7530. name: goodsID
  7531. required: true
  7532. type: integer
  7533. - description: 资金账户,主要用于获取预售商品购买上限
  7534. in: query
  7535. name: accountID
  7536. type: integer
  7537. produces:
  7538. - application/json
  7539. responses:
  7540. "200":
  7541. description: OK
  7542. schema:
  7543. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  7544. "500":
  7545. description: Internal Server Error
  7546. schema:
  7547. $ref: '#/definitions/app.Response'
  7548. security:
  7549. - ApiKeyAuth: []
  7550. summary: 查询一级市场(预售)商品信息详情
  7551. tags:
  7552. - 定制【海商报业】
  7553. /HSBY/QueryHsbyPreGoodses:
  7554. get:
  7555. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  7556. parameters:
  7557. - description: 页码
  7558. in: query
  7559. name: page
  7560. type: integer
  7561. - description: 每页条数
  7562. in: query
  7563. name: pagesize
  7564. type: integer
  7565. - description: 市场ID列表,格式:1,2,3
  7566. in: query
  7567. name: marketIDs
  7568. required: true
  7569. type: string
  7570. - description: 目的地(省)ID
  7571. in: query
  7572. name: descProvinceID
  7573. type: integer
  7574. - description: 目的地(市)ID
  7575. in: query
  7576. name: descCityID
  7577. type: integer
  7578. produces:
  7579. - application/json
  7580. responses:
  7581. "200":
  7582. description: OK
  7583. schema:
  7584. $ref: '#/definitions/models.HsbyPreGoods'
  7585. "500":
  7586. description: Internal Server Error
  7587. schema:
  7588. $ref: '#/definitions/app.Response'
  7589. security:
  7590. - ApiKeyAuth: []
  7591. summary: 查询新品上市商品列表(一级市场预售)
  7592. tags:
  7593. - 定制【海商报业】
  7594. /HSBY/QueryHsbySellMyDetails:
  7595. get:
  7596. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  7597. parameters:
  7598. - description: 页码
  7599. in: query
  7600. name: page
  7601. type: integer
  7602. - description: 每页条数
  7603. in: query
  7604. name: pagesize
  7605. type: integer
  7606. - description: 资金账户列表,格式:1,2,3
  7607. in: query
  7608. name: accountIDs
  7609. required: true
  7610. type: string
  7611. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  7612. in: query
  7613. name: orderType
  7614. type: integer
  7615. produces:
  7616. - application/json
  7617. responses:
  7618. "200":
  7619. description: OK
  7620. schema:
  7621. $ref: '#/definitions/models.HsbySellMyDetail'
  7622. "500":
  7623. description: Internal Server Error
  7624. schema:
  7625. $ref: '#/definitions/app.Response'
  7626. security:
  7627. - ApiKeyAuth: []
  7628. summary: 查询"我的闲置"单据信息
  7629. tags:
  7630. - 定制【海商报业】
  7631. /HSBY/QueryHsbyTopGoodses:
  7632. get:
  7633. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  7634. parameters:
  7635. - description: 页码
  7636. in: query
  7637. name: page
  7638. type: integer
  7639. - description: 每页条数
  7640. in: query
  7641. name: pagesize
  7642. type: integer
  7643. - description: 市场ID列表,格式:1,2,3
  7644. in: query
  7645. name: marketIDs
  7646. required: true
  7647. type: string
  7648. - description: 目的地(省)ID
  7649. in: query
  7650. name: descProvinceID
  7651. type: integer
  7652. - description: 目的地(市)ID
  7653. in: query
  7654. name: descCityID
  7655. type: integer
  7656. produces:
  7657. - application/json
  7658. responses:
  7659. "200":
  7660. description: OK
  7661. schema:
  7662. $ref: '#/definitions/models.HsbyTopGoods'
  7663. "500":
  7664. description: Internal Server Error
  7665. schema:
  7666. $ref: '#/definitions/app.Response'
  7667. security:
  7668. - ApiKeyAuth: []
  7669. summary: 查询热卖商品列表(二级市场挂牌点选)
  7670. tags:
  7671. - 定制【海商报业】
  7672. /HSBY/QueryMyCollectionOrders:
  7673. get:
  7674. parameters:
  7675. - description: 页码
  7676. in: query
  7677. name: page
  7678. type: integer
  7679. - description: 每页条数
  7680. in: query
  7681. name: pagesize
  7682. type: integer
  7683. - description: 资金账户,格式:1,2,3
  7684. in: query
  7685. name: accountIDs
  7686. required: true
  7687. type: string
  7688. produces:
  7689. - application/json
  7690. responses:
  7691. "200":
  7692. description: OK
  7693. schema:
  7694. $ref: '#/definitions/models.HsbySellCollectionOrder'
  7695. "500":
  7696. description: Internal Server Error
  7697. schema:
  7698. $ref: '#/definitions/app.Response'
  7699. security:
  7700. - ApiKeyAuth: []
  7701. summary: 我的闲置中收款信息查询
  7702. tags:
  7703. - 定制【海商报业】
  7704. /HSBY/QueryMyCouponHolds:
  7705. get:
  7706. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  7707. parameters:
  7708. - description: 资金账户列表,格式:1,2,3
  7709. in: query
  7710. name: accountIDs
  7711. required: true
  7712. type: string
  7713. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  7714. in: query
  7715. name: holdStatus
  7716. type: string
  7717. produces:
  7718. - application/json
  7719. responses:
  7720. "200":
  7721. description: OK
  7722. schema:
  7723. $ref: '#/definitions/models.MyCouponHold'
  7724. "500":
  7725. description: Internal Server Error
  7726. schema:
  7727. $ref: '#/definitions/app.Response'
  7728. security:
  7729. - ApiKeyAuth: []
  7730. summary: 我的优惠卷持仓查询
  7731. tags:
  7732. - 定制【海商报业】
  7733. /HSBY/QueryMyCoupons:
  7734. get:
  7735. parameters:
  7736. - description: 资金账户列表,格式:1,2,3
  7737. in: query
  7738. name: accountIDs
  7739. required: true
  7740. type: string
  7741. - description: 商品ID, 一般与sellUserID配套传入
  7742. in: query
  7743. name: goodsID
  7744. type: integer
  7745. - description: 卖方UserID
  7746. in: query
  7747. name: sellUserID
  7748. type: integer
  7749. produces:
  7750. - application/json
  7751. responses:
  7752. "200":
  7753. description: OK
  7754. schema:
  7755. $ref: '#/definitions/models.MyCoupon'
  7756. "500":
  7757. description: Internal Server Error
  7758. schema:
  7759. $ref: '#/definitions/app.Response'
  7760. security:
  7761. - ApiKeyAuth: []
  7762. summary: 我的优惠卷查询
  7763. tags:
  7764. - 定制【海商报业】
  7765. /HSBY/QueryMyPayOrders:
  7766. get:
  7767. parameters:
  7768. - description: 页码
  7769. in: query
  7770. name: page
  7771. type: integer
  7772. - description: 每页条数
  7773. in: query
  7774. name: pagesize
  7775. type: integer
  7776. - description: 资金账户列表,格式:1,2,3
  7777. in: query
  7778. name: accountIDs
  7779. required: true
  7780. type: string
  7781. - description: 买方委托单号
  7782. in: query
  7783. name: buyOrderID
  7784. type: integer
  7785. - description: 卖方委托单号
  7786. in: query
  7787. name: sellOrderID
  7788. type: integer
  7789. produces:
  7790. - application/json
  7791. responses:
  7792. "200":
  7793. description: OK
  7794. schema:
  7795. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  7796. "500":
  7797. description: Internal Server Error
  7798. schema:
  7799. $ref: '#/definitions/app.Response'
  7800. security:
  7801. - ApiKeyAuth: []
  7802. summary: 获取我的订单中待付款信息
  7803. tags:
  7804. - 定制【海商报业】
  7805. /HSBY/QueryMyUsedCoupon:
  7806. get:
  7807. parameters:
  7808. - description: 资金账户列表,格式:1,2,3
  7809. in: query
  7810. name: accountIDs
  7811. required: true
  7812. type: string
  7813. produces:
  7814. - application/json
  7815. responses:
  7816. "200":
  7817. description: OK
  7818. schema:
  7819. $ref: '#/definitions/models.MyUsedCoupon'
  7820. "500":
  7821. description: Internal Server Error
  7822. schema:
  7823. $ref: '#/definitions/app.Response'
  7824. security:
  7825. - ApiKeyAuth: []
  7826. summary: 已使用优惠卷查询
  7827. tags:
  7828. - 定制【海商报业】
  7829. /HSBY/QueryProvincesAndCities:
  7830. get:
  7831. description: 查询结果只包括二级市场商品已关连的省市信息。
  7832. parameters:
  7833. - description: 省ID
  7834. in: query
  7835. name: provinceID
  7836. type: integer
  7837. produces:
  7838. - application/json
  7839. responses:
  7840. "200":
  7841. description: OK
  7842. schema:
  7843. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  7844. "500":
  7845. description: Internal Server Error
  7846. schema:
  7847. $ref: '#/definitions/app.Response'
  7848. security:
  7849. - ApiKeyAuth: []
  7850. summary: 查询省市信息(不包括区)
  7851. tags:
  7852. - 定制【海商报业】
  7853. /HSBY/SetHsbyMyPackagesStatus:
  7854. post:
  7855. parameters:
  7856. - description: 提货单号
  7857. in: query
  7858. name: takeOrderID
  7859. required: true
  7860. type: string
  7861. - description: 资金账号
  7862. in: query
  7863. name: accountID
  7864. required: true
  7865. type: integer
  7866. produces:
  7867. - application/json
  7868. responses:
  7869. "200":
  7870. description: OK
  7871. schema:
  7872. $ref: '#/definitions/app.Response'
  7873. "500":
  7874. description: Internal Server Error
  7875. schema:
  7876. $ref: '#/definitions/app.Response'
  7877. security:
  7878. - ApiKeyAuth: []
  7879. summary: 设置我的包裹已收货状态
  7880. tags:
  7881. - 定制【海商报业】
  7882. /Market/QueryMarketRun:
  7883. get:
  7884. parameters:
  7885. - description: 市场ID,不传返回所有
  7886. in: query
  7887. name: marketID
  7888. type: integer
  7889. produces:
  7890. - application/json
  7891. responses:
  7892. "200":
  7893. description: OK
  7894. schema:
  7895. $ref: '#/definitions/models.Marketrun'
  7896. "500":
  7897. description: Internal Server Error
  7898. schema:
  7899. $ref: '#/definitions/app.Response'
  7900. security:
  7901. - ApiKeyAuth: []
  7902. summary: 查询市场运行信息
  7903. tags:
  7904. - 通用市场
  7905. /Order/QueryHisTradeDetail:
  7906. get:
  7907. parameters:
  7908. - description: 资金账户 - 格式:1,2,3
  7909. in: query
  7910. name: accountID
  7911. required: true
  7912. type: string
  7913. - description: 成交单号
  7914. in: query
  7915. name: tradeID
  7916. type: integer
  7917. - description: 委托单号
  7918. in: query
  7919. name: orderID
  7920. type: integer
  7921. - description: 交易模式 - 格式:1,2,3
  7922. in: query
  7923. name: tradeMode
  7924. type: string
  7925. - description: 委托单据类型
  7926. in: query
  7927. name: buildType
  7928. type: integer
  7929. - description: 成交类别 - 格式:1,2,3
  7930. in: query
  7931. name: tradeType
  7932. type: string
  7933. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7934. in: query
  7935. name: startDate
  7936. type: string
  7937. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7938. in: query
  7939. name: endDate
  7940. type: string
  7941. produces:
  7942. - application/json
  7943. responses:
  7944. "200":
  7945. description: OK
  7946. schema:
  7947. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  7948. "500":
  7949. description: Internal Server Error
  7950. schema:
  7951. $ref: '#/definitions/app.Response'
  7952. security:
  7953. - ApiKeyAuth: []
  7954. summary: 历史成交单查询(合约市场)
  7955. tags:
  7956. - 通用单据
  7957. /Order/QueryHisTradeOrderDetail:
  7958. get:
  7959. parameters:
  7960. - description: 资金账户 - 格式:1,2,3
  7961. in: query
  7962. name: accountID
  7963. required: true
  7964. type: string
  7965. - description: 交易模式 - 格式:1,2,3
  7966. in: query
  7967. name: tradeMode
  7968. type: string
  7969. - description: 委托状态 - 格式:1,2,3
  7970. in: query
  7971. name: orderStatus
  7972. type: string
  7973. - description: 委托单号
  7974. in: query
  7975. name: orderID
  7976. type: integer
  7977. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7978. in: query
  7979. name: startDate
  7980. type: string
  7981. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7982. in: query
  7983. name: endDate
  7984. type: string
  7985. produces:
  7986. - application/json
  7987. responses:
  7988. "200":
  7989. description: OK
  7990. schema:
  7991. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  7992. "500":
  7993. description: Internal Server Error
  7994. schema:
  7995. $ref: '#/definitions/app.Response'
  7996. security:
  7997. - ApiKeyAuth: []
  7998. summary: 历史委托单查询请求(合约市场)
  7999. tags:
  8000. - 通用单据
  8001. /Order/QueryTradeDetail:
  8002. get:
  8003. parameters:
  8004. - description: 资金账户 - 格式:1,2,3
  8005. in: query
  8006. name: accountID
  8007. required: true
  8008. type: string
  8009. - description: 成交单号
  8010. in: query
  8011. name: tradeID
  8012. type: integer
  8013. - description: 委托单号
  8014. in: query
  8015. name: orderID
  8016. type: integer
  8017. - description: 交易模式 - 格式:1,2,3
  8018. in: query
  8019. name: tradeMode
  8020. type: string
  8021. - description: 委托单据类型
  8022. in: query
  8023. name: buildType
  8024. type: integer
  8025. - description: 成交类别 - 格式:1,2,3
  8026. in: query
  8027. name: tradeType
  8028. type: string
  8029. produces:
  8030. - application/json
  8031. responses:
  8032. "200":
  8033. description: OK
  8034. schema:
  8035. $ref: '#/definitions/order.QueryTradeDetailRsp'
  8036. "500":
  8037. description: Internal Server Error
  8038. schema:
  8039. $ref: '#/definitions/app.Response'
  8040. security:
  8041. - ApiKeyAuth: []
  8042. summary: 成交单查询(合约市场)
  8043. tags:
  8044. - 通用单据
  8045. /Order/QueryTradeOrderDetail:
  8046. get:
  8047. parameters:
  8048. - description: 资金账户 - 格式:1,2,3
  8049. in: query
  8050. name: accountID
  8051. required: true
  8052. type: string
  8053. - description: 交易模式 - 格式:1,2,3
  8054. in: query
  8055. name: tradeMode
  8056. type: string
  8057. - description: 委托状态 - 格式:1,2,3
  8058. in: query
  8059. name: orderStatus
  8060. type: string
  8061. - description: 委托单号
  8062. in: query
  8063. name: orderID
  8064. type: integer
  8065. produces:
  8066. - application/json
  8067. responses:
  8068. "200":
  8069. description: OK
  8070. schema:
  8071. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  8072. "500":
  8073. description: Internal Server Error
  8074. schema:
  8075. $ref: '#/definitions/app.Response'
  8076. security:
  8077. - ApiKeyAuth: []
  8078. summary: 委托单查询请求(合约市场)
  8079. tags:
  8080. - 通用单据
  8081. /Order/QueryTradePosition:
  8082. get:
  8083. parameters:
  8084. - description: 资金账户 - 格式:1,2,3
  8085. in: query
  8086. name: accountID
  8087. required: true
  8088. type: string
  8089. - description: 交易模式 - 格式:1,2,3
  8090. in: query
  8091. name: tradeMode
  8092. type: string
  8093. produces:
  8094. - application/json
  8095. responses:
  8096. "200":
  8097. description: OK
  8098. schema:
  8099. $ref: '#/definitions/order.QueryTradePositionRsp'
  8100. "500":
  8101. description: Internal Server Error
  8102. schema:
  8103. $ref: '#/definitions/app.Response'
  8104. security:
  8105. - ApiKeyAuth: []
  8106. summary: 持仓汇总查询(合约市场)
  8107. tags:
  8108. - 通用单据
  8109. /Quote/QueryHistoryDatas:
  8110. get:
  8111. parameters:
  8112. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  8113. 日线 10: Tik'
  8114. in: query
  8115. name: cycleType
  8116. required: true
  8117. type: integer
  8118. - description: 商品代码
  8119. in: query
  8120. name: goodsCode
  8121. required: true
  8122. type: string
  8123. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  8124. in: query
  8125. name: startTime
  8126. type: string
  8127. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  8128. in: query
  8129. name: endTime
  8130. type: string
  8131. - description: 条数
  8132. in: query
  8133. name: count
  8134. type: integer
  8135. - description: 是否按时间顺序排序(默认为时间倒序排序)
  8136. in: query
  8137. name: isAsc
  8138. type: boolean
  8139. produces:
  8140. - application/json
  8141. responses:
  8142. "200":
  8143. description: OK
  8144. schema:
  8145. $ref: '#/definitions/quote.HistoryData'
  8146. "500":
  8147. description: Internal Server Error
  8148. schema:
  8149. $ref: '#/definitions/app.Response'
  8150. security:
  8151. - ApiKeyAuth: []
  8152. summary: 查询行情历史数据
  8153. tags:
  8154. - 行情服务
  8155. /Quote/QueryTSData:
  8156. get:
  8157. parameters:
  8158. - description: 商品代码
  8159. in: query
  8160. name: GoodsCode
  8161. required: true
  8162. type: string
  8163. produces:
  8164. - application/json
  8165. responses:
  8166. "200":
  8167. description: OK
  8168. schema:
  8169. $ref: '#/definitions/quote.QueryTSDataRsp'
  8170. "500":
  8171. description: Internal Server Error
  8172. schema:
  8173. $ref: '#/definitions/app.Response'
  8174. summary: 分时图数据查询
  8175. tags:
  8176. - 行情服务
  8177. /SZDZ/QueryConvertConfig:
  8178. get:
  8179. parameters:
  8180. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8181. 6:交易转花生米(不设置)
  8182. in: query
  8183. name: convertType
  8184. type: integer
  8185. - description: 外部商品代码[JD\PD]
  8186. in: query
  8187. name: outerGoodsCode
  8188. type: string
  8189. - description: 内部商品ID列表[交易],格式:1,2,3
  8190. in: query
  8191. name: innerGoodsIDs
  8192. type: string
  8193. produces:
  8194. - application/json
  8195. responses:
  8196. "200":
  8197. description: OK
  8198. schema:
  8199. $ref: '#/definitions/models.Szdz3convertconfig'
  8200. "500":
  8201. description: Internal Server Error
  8202. schema:
  8203. $ref: '#/definitions/app.Response'
  8204. security:
  8205. - ApiKeyAuth: []
  8206. summary: 查询交易系统转换设置
  8207. tags:
  8208. - 定制【尚志大宗】
  8209. /SZDZ/QueryConvertLog:
  8210. get:
  8211. parameters:
  8212. - description: 资金账户 - 格式:1,2,3
  8213. in: query
  8214. name: accountID
  8215. required: true
  8216. type: string
  8217. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  8218. in: query
  8219. name: startDate
  8220. type: string
  8221. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  8222. in: query
  8223. name: endDate
  8224. type: string
  8225. produces:
  8226. - application/json
  8227. responses:
  8228. "200":
  8229. description: OK
  8230. schema:
  8231. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  8232. "500":
  8233. description: Internal Server Error
  8234. schema:
  8235. $ref: '#/definitions/app.Response'
  8236. security:
  8237. - ApiKeyAuth: []
  8238. summary: 交易系统转换流水查询
  8239. tags:
  8240. - 定制【尚志大宗】
  8241. /SZDZ/QueryGoodsPickup:
  8242. get:
  8243. parameters:
  8244. - description: 资金账户 - 格式:1,2,3
  8245. in: query
  8246. name: accountID
  8247. required: true
  8248. type: string
  8249. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8250. in: query
  8251. name: takeOrderStatus
  8252. type: integer
  8253. produces:
  8254. - application/json
  8255. responses:
  8256. "200":
  8257. description: OK
  8258. schema:
  8259. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  8260. "500":
  8261. description: Internal Server Error
  8262. schema:
  8263. $ref: '#/definitions/app.Response'
  8264. security:
  8265. - ApiKeyAuth: []
  8266. summary: 商品提货单查询
  8267. tags:
  8268. - 定制【尚志大宗】
  8269. /SZDZ/QueryRecieptOrder:
  8270. get:
  8271. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  8272. parameters:
  8273. - description: 页码
  8274. in: query
  8275. name: page
  8276. type: integer
  8277. - description: 每页条数
  8278. in: query
  8279. name: pagesize
  8280. type: integer
  8281. - description: 商品ID
  8282. in: query
  8283. name: goodsID
  8284. required: true
  8285. type: integer
  8286. - description: 所属账户名称
  8287. in: query
  8288. name: accountName
  8289. type: string
  8290. - description: 市场ID
  8291. in: query
  8292. name: marketID
  8293. type: integer
  8294. - description: 方向 - 0:买 1:卖
  8295. in: query
  8296. name: buyorsell
  8297. required: true
  8298. type: integer
  8299. produces:
  8300. - application/json
  8301. responses:
  8302. "200":
  8303. description: OK
  8304. schema:
  8305. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  8306. "500":
  8307. description: Internal Server Error
  8308. schema:
  8309. $ref: '#/definitions/app.Response'
  8310. security:
  8311. - ApiKeyAuth: []
  8312. summary: 点选挂牌委托单据查询(摘牌大厅)
  8313. tags:
  8314. - 定制【尚志大宗】
  8315. /SZDZ/QuerySZDZTradePosition:
  8316. get:
  8317. parameters:
  8318. - description: 资金账户
  8319. in: query
  8320. name: accountID
  8321. required: true
  8322. type: integer
  8323. produces:
  8324. - application/json
  8325. responses:
  8326. "200":
  8327. description: OK
  8328. schema:
  8329. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  8330. "500":
  8331. description: Internal Server Error
  8332. schema:
  8333. $ref: '#/definitions/app.Response'
  8334. security:
  8335. - ApiKeyAuth: []
  8336. summary: 持仓汇总查询(尚志大宗)
  8337. tags:
  8338. - 定制【尚志大宗】
  8339. /SZDZ/SearchWhite:
  8340. get:
  8341. parameters:
  8342. - description: 用户ID
  8343. in: query
  8344. name: userID
  8345. required: true
  8346. type: integer
  8347. produces:
  8348. - application/json
  8349. responses:
  8350. "200":
  8351. description: OK
  8352. schema:
  8353. $ref: '#/definitions/models.Szdz3searchwhitelist'
  8354. "500":
  8355. description: Internal Server Error
  8356. schema:
  8357. $ref: '#/definitions/app.Response'
  8358. security:
  8359. - ApiKeyAuth: []
  8360. summary: 搜索白名单
  8361. tags:
  8362. - 定制【尚志大宗】
  8363. /Search/SearchGoodses:
  8364. get:
  8365. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  8366. parameters:
  8367. - description: 检索内容
  8368. in: query
  8369. name: content
  8370. required: true
  8371. type: string
  8372. - description: 交易模式,格式:1,2,3
  8373. in: query
  8374. name: tradeModes
  8375. type: string
  8376. produces:
  8377. - application/json
  8378. responses:
  8379. "200":
  8380. description: OK
  8381. schema:
  8382. $ref: '#/definitions/models.SearchGoods'
  8383. "500":
  8384. description: Internal Server Error
  8385. schema:
  8386. $ref: '#/definitions/app.Response'
  8387. summary: 检索商品信息
  8388. tags:
  8389. - 检索服务
  8390. /TaAccount/QueryAmountLog:
  8391. get:
  8392. parameters:
  8393. - description: 页码
  8394. in: query
  8395. name: page
  8396. type: integer
  8397. - description: 每页条数
  8398. in: query
  8399. name: pagesize
  8400. type: integer
  8401. - description: 资金账户 - 格式:1,2,3
  8402. in: query
  8403. name: accountID
  8404. required: true
  8405. type: string
  8406. - description: 资金操作类型 - 格式:1,2,3
  8407. in: query
  8408. name: OperateType
  8409. type: string
  8410. produces:
  8411. - application/json
  8412. responses:
  8413. "200":
  8414. description: OK
  8415. schema:
  8416. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  8417. "500":
  8418. description: Internal Server Error
  8419. schema:
  8420. $ref: '#/definitions/app.Response'
  8421. security:
  8422. - ApiKeyAuth: []
  8423. summary: 资金流水查询(当前)
  8424. tags:
  8425. - 资金账户
  8426. /TaAccount/QueryHisAmountLog:
  8427. get:
  8428. parameters:
  8429. - description: 页码
  8430. in: query
  8431. name: page
  8432. type: integer
  8433. - description: 每页条数
  8434. in: query
  8435. name: pagesize
  8436. type: integer
  8437. - description: 资金账户 - 格式:1,2,3
  8438. in: query
  8439. name: accountID
  8440. required: true
  8441. type: string
  8442. - description: 资金操作类型 - 格式:1,2,3
  8443. in: query
  8444. name: OperateType
  8445. type: string
  8446. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  8447. in: query
  8448. name: startDate
  8449. type: string
  8450. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  8451. in: query
  8452. name: endDate
  8453. type: string
  8454. produces:
  8455. - application/json
  8456. responses:
  8457. "200":
  8458. description: OK
  8459. schema:
  8460. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  8461. "500":
  8462. description: Internal Server Error
  8463. schema:
  8464. $ref: '#/definitions/app.Response'
  8465. security:
  8466. - ApiKeyAuth: []
  8467. summary: 资金流水查询(历史)
  8468. tags:
  8469. - 资金账户
  8470. /Trade/QueryRecieptOrder:
  8471. get:
  8472. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  8473. parameters:
  8474. - description: 页码
  8475. in: query
  8476. name: page
  8477. type: integer
  8478. - description: 每页条数
  8479. in: query
  8480. name: pagesize
  8481. type: integer
  8482. - description: 商品ID
  8483. in: query
  8484. name: goodsID
  8485. required: true
  8486. type: integer
  8487. - description: 所属账户名称
  8488. in: query
  8489. name: accountName
  8490. type: string
  8491. - description: 市场ID
  8492. in: query
  8493. name: marketID
  8494. type: integer
  8495. - description: 方向 - 0:买 1:卖
  8496. in: query
  8497. name: buyorsell
  8498. required: true
  8499. type: integer
  8500. produces:
  8501. - application/json
  8502. responses:
  8503. "200":
  8504. description: OK
  8505. schema:
  8506. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  8507. "500":
  8508. description: Internal Server Error
  8509. schema:
  8510. $ref: '#/definitions/app.Response'
  8511. security:
  8512. - ApiKeyAuth: []
  8513. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  8514. tags:
  8515. - 通用交易
  8516. /User/AddMessageBoard:
  8517. post:
  8518. parameters:
  8519. - description: 用户ID
  8520. in: query
  8521. name: userID
  8522. required: true
  8523. type: integer
  8524. - description: 留言信息
  8525. in: query
  8526. name: message
  8527. required: true
  8528. type: string
  8529. produces:
  8530. - application/json
  8531. responses:
  8532. "200":
  8533. description: OK
  8534. schema:
  8535. $ref: '#/definitions/app.Response'
  8536. "500":
  8537. description: Internal Server Error
  8538. schema:
  8539. $ref: '#/definitions/app.Response'
  8540. security:
  8541. - ApiKeyAuth: []
  8542. summary: 添加用户留言板信息
  8543. tags:
  8544. - 用户信息
  8545. /User/AddUserFavoriteGoods:
  8546. post:
  8547. parameters:
  8548. - description: 用户ID
  8549. in: query
  8550. name: userID
  8551. required: true
  8552. type: integer
  8553. - description: 商品ID
  8554. in: query
  8555. name: goodsID
  8556. required: true
  8557. type: integer
  8558. produces:
  8559. - application/json
  8560. responses:
  8561. "200":
  8562. description: OK
  8563. schema:
  8564. $ref: '#/definitions/app.Response'
  8565. "500":
  8566. description: Internal Server Error
  8567. schema:
  8568. $ref: '#/definitions/app.Response'
  8569. security:
  8570. - ApiKeyAuth: []
  8571. summary: 添加用户商品收藏信息
  8572. tags:
  8573. - 用户信息
  8574. /User/GetLoginID:
  8575. get:
  8576. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  8577. parameters:
  8578. - description: 登录代码
  8579. in: query
  8580. name: username
  8581. required: true
  8582. type: string
  8583. produces:
  8584. - application/json
  8585. responses:
  8586. "200":
  8587. description: OK
  8588. schema:
  8589. $ref: '#/definitions/app.Response'
  8590. "500":
  8591. description: Internal Server Error
  8592. schema:
  8593. $ref: '#/definitions/app.Response'
  8594. summary: 获取登录ID
  8595. tags:
  8596. - 用户信息
  8597. /User/GetUserAccount:
  8598. get:
  8599. parameters:
  8600. - description: 用户ID
  8601. in: query
  8602. name: userID
  8603. required: true
  8604. type: integer
  8605. produces:
  8606. - application/json
  8607. responses:
  8608. "200":
  8609. description: OK
  8610. schema:
  8611. $ref: '#/definitions/models.Useraccount'
  8612. "500":
  8613. description: Internal Server Error
  8614. schema:
  8615. $ref: '#/definitions/app.Response'
  8616. security:
  8617. - ApiKeyAuth: []
  8618. summary: 获取用户账号信息
  8619. tags:
  8620. - 用户信息
  8621. /User/GetUserAuthStatus:
  8622. get:
  8623. parameters:
  8624. - description: 用户ID
  8625. in: query
  8626. name: userID
  8627. required: true
  8628. type: integer
  8629. produces:
  8630. - application/json
  8631. responses:
  8632. "200":
  8633. description: OK
  8634. schema:
  8635. $ref: '#/definitions/app.Response'
  8636. "500":
  8637. description: Internal Server Error
  8638. schema:
  8639. $ref: '#/definitions/app.Response'
  8640. security:
  8641. - ApiKeyAuth: []
  8642. summary: 获取用户实名认证状态
  8643. tags:
  8644. - 用户信息
  8645. /User/QueryMessageBoard:
  8646. get:
  8647. parameters:
  8648. - description: 用户ID
  8649. in: query
  8650. name: userID
  8651. required: true
  8652. type: integer
  8653. produces:
  8654. - application/json
  8655. responses:
  8656. "200":
  8657. description: OK
  8658. schema:
  8659. $ref: '#/definitions/models.Messageboard'
  8660. "500":
  8661. description: Internal Server Error
  8662. schema:
  8663. $ref: '#/definitions/app.Response'
  8664. security:
  8665. - ApiKeyAuth: []
  8666. summary: 获取用户留言板信息
  8667. tags:
  8668. - 用户信息
  8669. /User/QueryUserFavoriteGoodses:
  8670. get:
  8671. parameters:
  8672. - description: 用户ID
  8673. in: query
  8674. name: userID
  8675. required: true
  8676. type: integer
  8677. produces:
  8678. - application/json
  8679. responses:
  8680. "200":
  8681. description: OK
  8682. schema:
  8683. $ref: '#/definitions/models.Userfavoritegoods'
  8684. "500":
  8685. description: Internal Server Error
  8686. schema:
  8687. $ref: '#/definitions/app.Response'
  8688. security:
  8689. - ApiKeyAuth: []
  8690. summary: 获取用户商品收藏信息
  8691. tags:
  8692. - 用户信息
  8693. /User/QueryUserInfo:
  8694. get:
  8695. parameters:
  8696. - description: 用户ID
  8697. in: query
  8698. name: userID
  8699. required: true
  8700. type: integer
  8701. produces:
  8702. - application/json
  8703. responses:
  8704. "200":
  8705. description: OK
  8706. schema:
  8707. $ref: '#/definitions/models.Userinfo'
  8708. "500":
  8709. description: Internal Server Error
  8710. schema:
  8711. $ref: '#/definitions/app.Response'
  8712. security:
  8713. - ApiKeyAuth: []
  8714. summary: 获取用户信息
  8715. tags:
  8716. - 用户信息
  8717. /User/QueryUserReferNum:
  8718. get:
  8719. parameters:
  8720. - description: 用户ID
  8721. in: query
  8722. name: userID
  8723. required: true
  8724. type: integer
  8725. produces:
  8726. - application/json
  8727. responses:
  8728. "200":
  8729. description: OK
  8730. schema:
  8731. $ref: '#/definitions/app.Response'
  8732. "500":
  8733. description: Internal Server Error
  8734. schema:
  8735. $ref: '#/definitions/app.Response'
  8736. summary: 获取用户邀请码
  8737. tags:
  8738. - 用户信息
  8739. /User/RemoveUserFavoriteGoods:
  8740. post:
  8741. parameters:
  8742. - description: 用户ID
  8743. in: query
  8744. name: userID
  8745. required: true
  8746. type: integer
  8747. - description: 商品ID
  8748. in: query
  8749. name: goodsID
  8750. required: true
  8751. type: integer
  8752. produces:
  8753. - application/json
  8754. responses:
  8755. "200":
  8756. description: OK
  8757. schema:
  8758. $ref: '#/definitions/app.Response'
  8759. "500":
  8760. description: Internal Server Error
  8761. schema:
  8762. $ref: '#/definitions/app.Response'
  8763. security:
  8764. - ApiKeyAuth: []
  8765. summary: 移除用户商品收藏信息
  8766. tags:
  8767. - 用户信息
  8768. /WR/GetWRCategoryInfo:
  8769. get:
  8770. produces:
  8771. - application/json
  8772. responses:
  8773. "200":
  8774. description: OK
  8775. schema:
  8776. $ref: '#/definitions/models.WRCategoryTree'
  8777. "500":
  8778. description: Internal Server Error
  8779. schema:
  8780. $ref: '#/definitions/app.Response'
  8781. summary: 获取现货分类信息
  8782. tags:
  8783. - 仓单服务
  8784. /WRTrade/GetAllDeliveryGoods:
  8785. get:
  8786. produces:
  8787. - application/json
  8788. - application/json
  8789. responses:
  8790. "200":
  8791. description: OK
  8792. schema:
  8793. $ref: '#/definitions/app.Response'
  8794. "500":
  8795. description: Internal Server Error
  8796. schema:
  8797. $ref: '#/definitions/app.Response'
  8798. security:
  8799. - ApiKeyAuth: []
  8800. - ApiKeyAuth: []
  8801. summary: 获取带仓单分类的种类信息
  8802. tags:
  8803. - 仓单贸易
  8804. - 仓单贸易
  8805. securityDefinitions:
  8806. ApiKeyAuth:
  8807. in: header
  8808. name: Authorization
  8809. type: apiKey
  8810. swagger: "2.0"