swagger.yaml 251 KB

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