swagger.json 330 KB

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