swagger.yaml 281 KB

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