swagger.yaml 332 KB

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