swagger.json 364 KB

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