swagger.yaml 362 KB

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