swagger.json 359 KB

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