swagger.json 347 KB

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